This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
cs401r_w2016:lab1 [2016/02/08 18:53] admin |
cs401r_w2016:lab1 [2021/06/30 23:42] (current) |
||
|---|---|---|---|
| Line 55: | Line 55: | ||
| For part 2, the data you should use is downloadable here: | For part 2, the data you should use is downloadable here: | ||
| - | [[http://hatch.cs.byu.edu/courses/stat_ml/store_train.csv|Rossman store sales data]] | + | [[http://liftothers.org/courses/stat_ml/store_train.csv|Rossman store sales data]] |
| ---- | ---- | ||
| Line 132: | Line 132: | ||
| ---- | ---- | ||
| ====Hints:==== | ====Hints:==== | ||
| + | |||
| + | When using an ipython notebook, it's nice to make your plots show up inline. To do this, add the following lines to the first cell of your notebook: | ||
| + | |||
| + | <code python> | ||
| + | |||
| + | # this tells seaborn and matplotlib to generate plots inline in the notebook | ||
| + | %matplotlib inline | ||
| + | |||
| + | # these two lines allow you to control the figure size | ||
| + | %pylab inline | ||
| + | pylab.rcParams['figure.figsize'] = (16.0, 8.0) | ||
| + | |||
| + | </code> | ||
| The following python functions might be helpful: | The following python functions might be helpful: | ||