You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projects/predict-home-prices-with-python-and-linear-regression/linear_regression.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,9 @@
3
3
fromsklearn.model_selectionimporttrain_test_split
4
4
fromsklearn.linear_modelimportLinearRegression
5
5
6
-
# Although this code is saved as a .py file this code will only run on anaconda.cloud
6
+
# This code requires the numpy, matplotlib, and scikit-learn libraries.
7
+
# Ensure these libraries are installed in your Python environment for the code to run successfully.
8
+
7
9
8
10
# Linear regression is a fundamental aspect of machine learning. Remember: this could be used to predict anything as long as there is a database to train a model on.
0 commit comments