Skip to content
  • Blog
  • YouTube
  • Discord
  • Services
    • Streamlit Developer for Hire
    • Hire n8n automation engineer
Data Consulting
Mentorships

scikit-learn

  • Home
  • Blog
  • scikit-learn
scikit-learn

adaboost classifier

July 12, 2025 Ryan Nolan No comments yet

Adaptive Boosting, or AdaBoost, is a boosting algorithm that combines multiple low-accuracy (weak) models to form a single high-accuracy (strong) model. It works by sequentially training these weak learners, each one focusing more on the errors made by the previous ones. Any machine learning algorithm that supports weighted training samples—such as Decision Trees, Logistic Regression, […]

scikit-learn

Kaggle House price prediction Regression Analysis

July 12, 2025 Ryan Nolan No comments yet

train_df = train_df.drop(columns=[‘PoolQC’, ‘MiscFeature’, ‘Alley’, ‘Fence’, ‘GarageYrBlt’, ‘GarageCond’, ‘BsmtFinType2’]) test_df = test_df.drop(columns=[‘PoolQC’, ‘MiscFeature’, ‘Alley’, ‘Fence’, ‘GarageYrBlt’, ‘GarageCond’, ‘BsmtFinType2’]) #drop GarageArea or GarageCars #build models

scikit-learn

kaggle titanic tutorial

July 12, 2025 Ryan Nolan No comments yet

#military – Capt, Col, Major #noble – Jonkheer, the Countess, Don, Lady, Sir #unmaried Female – Mlle, Ms, Mme #NEW Drop Sibsp, Parch, TicketNumberCounts #OLD #X = train_df.drop([‘Survived’], axis=1) #y = train_df[‘Survived’] #X_test = test_df.drop([‘Age_Cut’, ‘Fare_Cut’], axis=1)

scikit-learn

hyperparameter tuning with scikit learn

July 5, 2025 Ryan Nolan No comments yet

We would be looking at tuning hyperparameters with Scikit-Learn. Scikit-Learn is a powerful machine learning library for Python. It provides simple , efficient tools for data analysis and modeling. Hyperparameter tuning is the process of finding the best values for the settings of a machine learning model that are not learned from data, but set […]

scikit-learn

principal component analysis scikit learn

July 5, 2025 Ryan Nolan No comments yet

PCA (Principal Component Analysis) in Python using Scikit-learn is a technique used to reduce the number of features in a dataset while preserving most of the variance (information). It works by: Finding new axes (principal components) that capture the most variance. Projecting the data onto these fewer dimensions. It’s useful for visualization, speeding up models, […]

scikit-learn

Simple Imputer

July 3, 2025 Ryan Nolan No comments yet

When working with data in Python, especially using pandas, handling missing values is a crucial step in data cleaning. Missing values can occur in both categorical and numeric columns. There are several common strategies to address them: you can choose to ignore them (though this is rarely recommended), remove the rows that contain them using […]

scikit-learn

Logistic Regression

July 3, 2025 Ryan Nolan No comments yet

Logistic regression is a statistical model used for binary classification problems, where the goal is to predict one of two possible outcomes. Unlike linear regression, which predicts continuous values, logistic regression estimates the probability that a given input belongs to a particular class. It uses the logistic (sigmoid) function to map predicted values between 0 […]

scikit-learn

Decision Tree

June 27, 2025 Ryan Nolan No comments yet

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 […]

scikit-learn

Voting Classifier

June 25, 2025 Ryan Nolan No comments yet

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 […]

scikit-learn

Elastic Net Regressor

June 25, 2025 Ryan Nolan No comments yet

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: […]

Posts pagination

1 2 3 Next

Search

Categories

  • LangChain (3)
  • LeetCode (8)
  • Linear Algebra (7)
  • N8N (9)
  • Python (28)
  • Python Pandas (36)
  • scikit-learn (29)
  • Statistics (24)
  • Time Series (6)
  • Uncategorized (2)
  • Web Scraping (5)

Recent posts

  • n8n openai api
  • N8N Perplexity
  • Streamlit Tutorial

Helping Data Professions further there careers

Important Links
  • Blog
  • Sponsorships
  • Mentorships
  • Data Freelancing
LinkedIn
  • Ryan Nolan
  • Matt Payne
Get in touch
  • ryannolandata@gmail.com

© Ryan & Matt Data Science

  • Terms & Conditions
  • Privacy Policy