Skip to content

LKEthridge/Linear_Algebra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linear_Algebra

This was a Linear Algebra project for TripleTen. 👩🏽‍💻

This project applies machine learning and linear algebra to real-world problems using data from the Sure Tomorrow insurance company. Key tasks include customer segmentation using k-Nearest Neighbors (kNN), benefit prediction with kNN classifiers and linear regression, and data obfuscation with matrix multiplication to ensure privacy without compromising model performance. Highlights include an F1 score of 0.95 for kNN on scaled data and successful obfuscation maintaining identical RMSE and R² values.

Skills Highlighted

👩🏽‍💻 Linear Regression Model ✖️ Matrices and Matrix Operations ➡️ Vectors and Vector Operations 🏙️ Manhattan Distance 🔴 Dot Product 📐 Euclidean Distances 🏡 K Nearest Neighbors Algorithm

Installation & Usage

  • This project uses math, numpy, pandas, seaborn, display, LinearRegression, f1_score, mean_squared_error, r2_score, train_test_split, NearestNeighbors, KNeighborsClassifier, and MaxAbsScaler. It requires python 3.11.