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 […]
Python Lists
https://www.youtube.com/watch?v=nQgN1y_KGLc&list=PLcQVY5V2UY4JlNQqDqmxwXgUy6QGhpgVY&index=3#numbers, booleans, string, list of lists#matrix is a 2d list#part 1 make your first list#list with numbers#list with strings #part 2 grab elements grab multiple elements from listhttps://go.elementor.com/widget-image #every 2nd letter #unpacking #part 4 replace elements #Part 5 Methods #ascending #return index #add to python list #add another list using extend metiod #3rd way to […]
Python If Elif Else
Conditional Statements and Logical Operators in Python Use if, elif, and else to control the flow of your program based on conditions. You can write nested conditions (conditions inside other conditions) for more complex logic. Python supports comparison operators (like ==, !=, <, >, <=, >=) to compare values. You can combine conditions using logical […]
Python Variables
Variables are used to store data in a computer’s memory. A variable’s name should clearly describe the kind of data it holds. In Python, you don’t need to declare the data type of a variable—Python automatically detects it. Some common data types in Python include: Integers (int) for whole numbers Floats for decimal numbers Booleans […]