A decision tree is a non-parametric supervised learning algorithm, which is utilized for both classification and regression tasks. It has hierarchical, tree structure, which consists of a root node, branches, internal nodes and leaf nodes. note: Parametric supervised learning refers to a type of machine learning where the model assumes a specific functional form and estimates […]
Voting Classifier
Boosting Accuracy with Voting Classifiers In machine learning, combining multiple models often leads to better performance than relying on a single one. A Voting Classifier is a simple ensemble method that does just that — it aggregates predictions from several models to improve accuracy. There are two types: Hard Voting: Takes the majority vote from […]
Elastic Net Regressor
Elastic Net regression is a linear regression method that merges the strengths of both Lasso (L1) and Ridge (L2) regression techniques. It helps reduce overfitting and is especially effective when working with datasets that have many features, particularly when some of those features are highly correlated. The model’s regularization is controlled by two key hyperparameters: […]
gradient boosting regressor
Boosting in machine learning is a technique that combines multiple simple models, often decision trees into a single, stronger model. It works with regression trees and improves performance by sequentially learning from the mistakes of previous models. According to the scikit-learn documentation, at each stage, a regression tree is fit on the negative gradient of […]
Python For Loop
Loops are used to repeat a block of code multiple times. “for” loop in python is used when the number of repetition is known. “while” loop is used when the number of repetition is not known in advance, or can be infinite but there have to be a condition for stopping or exiting out the […]
Random Forest Regressor
Random forest regressor is a variant of the random forest classifier. It is primarily used for classification tasks. This model is an ensemble of decision trees. It combines the predictions of multiple individual trees to imrpove performance. By aggregating the results from those trees, typically through votng or avaeraging. It produces a final prediction that […]
Python Dictionaries
A Python dictionary is a built in data type used to store key-value pairs. It is similar to a real dictionary where you have to look up a word (key) to find its defintion (value) In Python, a dictionary stores data in linked key-value pairs Each key is connected to a specific value, making it […]
Connect Google Drive to N8N
Setting up your Google Drive connection to N8N has to be one of the first things you need to do when starting to explore the software. Google Drive is used a ton within workflows and can really expand your possibilities of builds. In this lesson, I’ll take you step by step to getting this ready […]
Python sets
A set in Python is a built-in data type used to store unique elements—that is, it automatically removes duplicates. Sets are defined using curly braces {}, and they are unordered and unindexed, meaning the items have no specific position or order. While sets are generally unchangeable in terms of individual items (you can’t change elements […]
n8n Google Sheets
Integrating in Google Sheets in an N8N workflow is pretty common. In fact when taking a look at jobs on freelance websites like Upwork I often see requests that have Google Sheets as part of a build a customer wants There are quite a few usecases in which this can be used. Two common ones are: Extracting data […]
