MCPcopy Create free account
hub / github.com/AssemblyAI-Community/Machine-Learning-From-Scratch / train.py

File train.py

02 Linear Regression/train.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import numpy as np
2from sklearn.model_selection import train_test_split
3from sklearn import datasets
4import matplotlib.pyplot as plt

Callers

nothing calls this directly

Calls 5

LinearRegressionClass · 0.90
mseFunction · 0.85
plotMethod · 0.80
fitMethod · 0.45
predictMethod · 0.45

Tested by

no test coverage detected