#drop #Example Passthrough some columns, drop offthers
extra trees classifier
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 […]
Python Reduced Row Echelon Form
From REF to RREF
Lasso Regression
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 […]
Python Augmented Matrix
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 with python
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 […]
BeautifulSoup4 find vs find_all
https://youtu.be/CSVnEKCWh5M import requests from bs4 import BeautifulSoup import pandas as pd import re html = “”” Ultra Running Events Ultra Running Events 50 Mile Races 100 Mile Races 50 Mile Races Rocky Mountain 50 Date: August 10, 2025 Location: Boulder, Colorado Desert Dash 50 Date: September 14, 2025 Location: Moab, Utah 100 Mile Races Mountain […]
beautifulsoup4 Selectors
import requests from bs4 import BeautifulSoup import pandas as pd import re html = “”” Ultra Running Events Ultra Running Events 50 Mile Races 100 Mile Races 50 Mile Races Rocky Mountain 50 Date: August 10, 2025 Location: Boulder, Colorado Desert Dash 50 Date: September 14, 2025 Location: Moab, Utah 100 Mile Races Mountain Madness […]
python levenes test
Example 1 – Manual Example # 100m race times for college and pro athletes #Calculate the medians # Calculate absolute deviations from the median # Calculate mean of absolute deviations # Calculate sum of squared deviations from the mean of deviations # Combine for total squared deviations # Total number of observations # Degrees of […]
python one sample z test
Example 1 More Manual
