Python Programming Examples

Multilayer Perceptron (MLP) – A Sneak Peak

Artificial Neural Networks or simply neural networks-NNs are being used by machine learning engineers for tasks so simple as classifying images using Convolutional Neural Networks(CNN) to using Recurrent Neural Networks (RNN) that can remember past information to deal with time series data. Ever wondered what constitutes these complex architectures? Just as their names suggest(‘neurons’), these

Multilayer Perceptron (MLP) – A Sneak Peak Read More »

[Fix] “bad interpreter: No such file or directory” Error in Python

Have you ever tried running a Python script only to get the frustrating “bad interpreter: No such file or directory” error? This common error occurs when the path defined in the shebang line (e.g. #!/usr/bin/python) points to a non-existent or invalid Python executable. In this comprehensive guide, we’ll walk through the root causes of this

[Fix] “bad interpreter: No such file or directory” Error in Python Read More »

Understanding One-Class SVM for Anomaly Detection

The applications of machine learning are endless. Predicting the price of a house or a product(regression), and classifying the customer’s reviews into positive or negative(classification), to even more advanced techniques like anomaly detection, and machine learning algorithms are being used everywhere. When it comes to machine learning algorithms, these can be briefly divided into supervised

Understanding One-Class SVM for Anomaly Detection Read More »

Finding Where Python Is Installed (when it isn’t the default dir)

Python’s interpreter, libraries, and scripts can reside in multiple locations on a system. So, finding where Python is installed helps with: The methods for finding Python’s install location vary across operating systems. In detail, we’ll explore platform-specific techniques on Windows, Linux/Unix, and macOS. Let’s jump right in Finding Python Location on Windows There are several

Finding Where Python Is Installed (when it isn’t the default dir) Read More »