An Advanced Flask App: Shopyo
Shopyo is an Ope…
Abdur-Rahmaan Janhangeer
Chef
Python · Machine Learning
Quality, author-led articles on Python & machine learning. Learn how to eat through topics, calmly, deeply, and without the noise.
Fresh articles, served often.
Shopyo is an Ope…
Abdur-Rahmaan Janhangeer
Chef
import sys from PySide2 import QtCore from PySide2 import QtWidgets from PySide2 import QtGui class MainWindow(QtWidgets.QMainWindow): def __init__(self, par…
Abdur-Rahmaan Janhangeer
Chef
Here is a list of Python free courses that i maintain An Introduction to Interactive Programming in Python (Part 1) …
Abdur-Rahmaan Janhangeer
Chef
To upload your project to Pypi, this assumes you have your setup.py ready cd into your package directory and type python setup.py sdist …
Abdur-Rahmaan Janhangeer
Chef
The Python programmer’s journey inevitably leads him to one of the black belts of the industry: packaging and distribution. But, particularly in Python, distribution can also be a black beast. We’v…
Abdur-Rahmaan Janhangeer
Chef
Python is set to release a new version next year, the shiny 3.9. This one omitted the sys.argv change rolled back in alpha2 Here’s our take of the most noticeable changes: Keyword Arguments…
Abdur-Rahmaan Janhangeer
Chef
Question: I have a QTableView in PyQT5 / PySide2 I want to * Know if a row is selected (my tableview is set to select by rows) * Know which row is selected Thanks Answer: …
Abdur-Rahmaan Janhangeer
Chef
Python’s help function lets you see the help message written for you by the developer. It is particularly useful in IDLE / shell to inspect modules and explore. Here is a sample shell demo…
Abdur-Rahmaan Janhangeer
Chef
String manipulation functions, good ones are available by default in Python. Ignorance make people always re-invent. Python is powerful and … thoughtful. We were strict and choose only 5, the five …
Abdur-Rahmaan Janhangeer
Chef
If you are in web development, maybe you’ve heard of Sass, Less, Pug, …
Abdur-Rahmaan Janhangeer
Chef
While Decision Trees are easy to understand, they have a major weakness: they tend to overfit the data. In this post, we’ll see how Random Forests solve this probl…
Abdur-Rahmaan Janhangeer
Chef
In the previous post, we saw how Decision Trees split data based on “purity.” But how do we measure this purity mathematically? This is where Entropy and Information Gain…
Abdur-Rahmaan Janhangeer
Chef