Skip to content

This is a simple Linear Regression model implemented in PyTorch. It demonstrates how to generate synthetic data, train a model, visualize predictions, and track training and test loss over epochs. The model parameters (weights and bias) can be saved and loaded for later use. Ideal for learning the basics of PyTorch and regression.

License

Notifications You must be signed in to change notification settings

barkinadiguzel/My-first-AI-Model-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

PyTorch Linear Regression ๐Ÿš€

Learn how to build a linear regression model from scratch using PyTorch.

What you'll see here:

  • Creating a linear regression model with nn.Module
  • Training the model on synthetic data
  • Plotting predictions and visualizing train/test loss
  • Saving & loading model weights

Quick Start

pip install torch torchvision torchaudio

Feedback

For feedback or questions, contact: [email protected]

About

This is a simple Linear Regression model implemented in PyTorch. It demonstrates how to generate synthetic data, train a model, visualize predictions, and track training and test loss over epochs. The model parameters (weights and bias) can be saved and loaded for later use. Ideal for learning the basics of PyTorch and regression.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages