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

Blog

  • Home
  • Blog
  • Page 8
scikit-learn

machine learning imbalanced classes

June 6, 2025 Ryan Nolan No comments yet

#Read over#data professor#emma Ding#mahesh huddar#ritvik mathPart 1 Load a Dataset Part 2 SIMPLE EDA Part 3 Set Up the Data Part 4 BASELINE MODEL – NO FIXING THE IMBALANCE part 5Oversampling ExampleOversampling Example 1 RandomOverSampler To start we’re going to create a simple dataframe in python led to overfitting part 6Oversampling Method Example 2 SMOTE […]

Statistics

simpsons paradox in Python

June 6, 2025 Ryan Nolan No comments yet

2nd example Running 1st plot just the mile time/miles per week

Statistics

two sample z test scipy

June 6, 2025 Ryan Nolan No comments yet

https://youtu.be/EiDemzaNbBI To start we’re going to import a few python packages. ztest: Impors the function to perform a Z-test for comparing means. numpy as np: for numberical operations. from scipy.stats import norm: Imports the normal distribution functions. from statsmodels.stats.weightstats import ztest import numpy as np from scipy.stats import norm #import math Then we set the […]

Statistics

paired sign test in Python

June 6, 2025 Ryan Nolan No comments yet

https://youtu.be/NoLyDRChxrU Firstly, we import statistical functions from Scipy binomtest: for performing a binomial test shapiro: for performing the Shapiro-Wilk test (tests for normality) numpy as np: for numerical operations and array handling. from scipy.stats import binomtest, shapiro import numpy as np Here we set the significance  level “alpha” to 0.05 alpha = 0.05 Example 1 […]

scikit-learn

Column Transformer

June 6, 2025 Ryan Nolan No comments yet

#drop #Example Passthrough some columns, drop offthers

scikit-learn

extra trees classifier

June 6, 2025 Ryan Nolan No comments yet

The Extra Trees Classifier is an ensemble machine learning methid that cimbines predictions from many individual trees. https://youtu.be/S2e70seVw3k   Aggregates the results from group of decision trees (Like a random forest)Difference1. ETC randomly selects the value to split features unlike a DTC which looks for the best2. Makes ETC More random + Faster Algorithm which […]

Linear Algebra

Python Reduced Row Echelon Form

June 6, 2025 Ryan Nolan No comments yet

From REF to RREF

scikit-learn

Lasso Regression

June 6, 2025 Ryan Nolan No comments yet

https://youtu.be/LmpBt0tenJE#LASSO stands for Least Absolute Shrinkage and Selection Operator#L1 regularization #address overfitting – A model that is too complex may fit the training data very well#but perform poorly on new, unseen data #will get rid ofe useless features (make coefficients independent var next to 0)#- automatic feature selection # lead to a simpler model that […]

Linear Algebra

Python Augmented Matrix

June 5, 2025 Ryan Nolan No comments yet

Example 1 Example 2 row operations Multiply the first row by 3 add: 2nd row to the first subtract 2nd row from the 3rd

Web Scraping

web scraping with python

June 5, 2025 Ryan Nolan No comments yet

import requests from urllib.parse import urljoin import urllib.robotparser web scraping with python Part 1 Getting your first page def response_code(response): if response.status_code == 200: print(“Page fetched successfully!”) else: print(“Failed to retrieve page:”, response.status_code) URL = “http://books.toscrape.com/” url_response = requests.get(URL) response_code(url_response) Failed to retrieve page: 403 | a client does not have the necessary permissions to […]

Posts pagination

Previous 1 … 7 8 9 … 16 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 Full Course

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