Group Customers Automatically with K-Means in Python (From an Excel File)
Use k-means clustering to split customers into segments by orders, spend and recency — reading from and writing back to Excel with pandas and…
Read article →Regression, trees and clustering in Python and Excel, from scratch.
Use k-means clustering to split customers into segments by orders, spend and recency — reading from and writing back to Excel with pandas and…
Read article →Train a decision tree classifier with scikit-learn, print its rules as plain if/else text, measure accuracy honestly with a test split, and avoid overfitting…
Read article →Code linear regression with gradient descent in plain NumPy, watch the model learn slope and intercept, then check it against NumPy and scikit-learn. The…
Read article →Machine learning starts with a straight line. Fit a regression in Excel with SLOPE, INTERCEPT, RSQ, LINEST and FORECAST.LINEAR, and learn how to read…
Read article →AI, machine learning, deep learning and LLMs are nested ideas, not rivals. A short, jargon-free explanation with everyday examples of each.
Read article →