Skip to content

Commit

Permalink
reverting color setting and adding note
Browse files Browse the repository at this point in the history
Lesson 6 has all points colored the same to start; modification reverts the previous change but adds a note to make sure that point colors are also changed during the lesson.
  • Loading branch information
ShengKungYi committed May 17, 2015
1 parent 960a6d1 commit 8152779
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions regression/finance_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@
from sklearn.cross_validation import train_test_split
feature_train, feature_test, target_train, target_test = train_test_split(features, target, test_size=0.5, random_state=42)
train_color = "b"
test_color = "r"
test_color = "b"



### your regression goes here!
### please name it reg, so that the plotting code below picks it up and
### plots it correctly
### Your regression goes here!
### Please name it reg, so that the plotting code below picks it up and
### plots it correctly. Don't forget to change the test_color from "b" to "r"
### to differentiate training points from test points.



Expand Down

0 comments on commit 8152779

Please sign in to comment.