User Tools

Site Tools


cs401r_w2016:lab1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cs401r_w2016:lab1 [2015/12/23 20:57]
admin
cs401r_w2016:lab1 [2016/01/02 23:55]
admin
Line 1: Line 1:
- 
 ====Objective:​==== ====Objective:​====
  
-Get started with python, ipython notebooks and anaconda.+Get started with anaconda, ​python, ipython notebooksand pandas. ​ Begin producing simple visualizations of data and images.
  
 +----
 ====Deliverable:​==== ====Deliverable:​====
  
-An ipython notebook ​that generates ​a random image. ​ We will run this+For this lab, you will submit an ipython notebook.  This notebook will have two parts: 
 + 
 +**Part 1:**  Your notebook should generate ​a random image. ​ We will run this
 notebook 5 times; it should generate 5 different, moderately complex notebook 5 times; it should generate 5 different, moderately complex
 images. ​ Each image should be 512 x 288.  Have fun with it! images. ​ Each image should be 512 x 288.  Have fun with it!
Line 14: Line 16:
 {{:​cs401r_w2016:​lab1.png?​nolink|}} {{:​cs401r_w2016:​lab1.png?​nolink|}}
  
 +**Part 2:** Your notebook should use the pandas library to read in some CSV data and plot some of it.
 +Your plot should look something like this:
 +
 +{{:​cs401r_w2016:​lab1_storesales.png?​direct&​700|}}
 +
 +----
 ====Description:​==== ====Description:​====
  
Line 32: Line 40:
 [[http://​cairographics.org/​|cairo]] package as part of your image generator. [[http://​cairographics.org/​|cairo]] package as part of your image generator.
  
 +----
 ====Installing anaconda:​==== ====Installing anaconda:​====
  
Line 52: Line 61:
 notebook. notebook.
  
-Here's some starter code to help you generate an image:+Here's some starter code to help you generate an image.  The ''​nbimage''​ function will display the image inline in the notebook:
  
 <code python> <code python>
cs401r_w2016/lab1.txt · Last modified: 2021/06/30 23:42 (external edit)