A random forest classifier in 270 lines of Python code. It is written from (almost) scratch. It is modelled on Scikit-Learn’s RandomForestClassifier. (more…)
Read more »
If you're using an older Python without the most secure TLS implementation, this is the year to get serious about upgrading. Otherwise next ...
Read more »
The scraping series will not get completed without discussing Scrapy. In this post I am going to write a web crawler that will scrape data from OLX's Electronics & Appliances' items. Before I get into the code, how about having a brief intro of Scrap...
Read more »
Cryptocurrencies are becoming mainstream so I’ve decided to spend the weekend learning about it. I’ve hacked together the code to download daily Bitcoin prices and apply a simple trading strategy to it. (more…)
Read more »
A difficult decision for any Python team is whether to move from Python 2 and into Python 3. Although this is not a new decision for Python development teams, 2017 brings with it several important differences that make this decision crucial for proper for... (more…)
Read more »