Discuss Scratch

ybk656
Scratcher
5 posts

Linear Regression Algorithm & Machine Learning (Built Entirely in Scratch 3!)

Hi everyone! I've built a Linear Regression (Machine Learning) Algorithm entirely from scratch in Scratch 3!

Project Link: https://scratch.mit.edu/projects/1395401768/

✨ Features:Real-Time Machine Learning: Visualizes linear regression by calculating and plotting a line of best fit over X and Y data points.

Data Input: Click anywhere on the coordinate plane to add new data points dynamically.

Prediction Mode (NEW!): Press “U” to train the model and make custom Y predictions based on your X input.

Custom Visual Engine: Smooth coordinate graph and status updates.

How to Try: Press “SPACE” to train the model and draw the regression line.

Press “U” to train and perform Y-predictions for custom X values. Click on the screen to add your own data points! I’d love to hear your feedback, thoughts, or suggestions to improve it further! If you like advanced algorithms and simulation projects, check it out and let me know what you think.

Last edited by ybk656 (Today 10:52:19)

Powered by DjangoBB