create dataset, define model (simple linear regression), train to minimize loss 과정 모두 들어간 코드.

머신러닝 process + Pytorch 개념 환기시킬 때 좋은 듯

 

https://medium.com/@andyangnyc/linear-regression-with-pytorch-7f83ff784206

 

Linear Regression with PyTorch

Data science notes for me and everyone

medium.com

 

'<기타 공부> > [기계 학습]' 카테고리의 다른 글

Gradient descent, Stochastic GD, Mini-batch GD  (0) 2022.04.06
Train / Test / Validation dataset  (0) 2022.04.06
Bias-Variance tradeoff  (0) 2021.08.02
어떤 loss를 쓰는지도 중요하다  (0) 2021.06.26
Dropout  (0) 2021.06.21

+ Recent posts