Difference between revisions of "MC1-Homework-2"
Jump to navigation
Jump to search
(Created page with "==Overview== The purpose of this homework is to make sure you've got a development environment set up so you can write and test code for the remaining assignments. Your deve...") |
(Corrected links and clarified instructions for submitting on Udacity) |
||
Line 13: | Line 13: | ||
You should: | You should: | ||
− | * Follow installation instructions [[ | + | * Follow installation instructions here: [[ML4T Software Installation]] |
− | * Test your environment by running the script | + | * Test your environment by running the script <tt>validate_env.py</tt> from the <tt>ML4T/</tt> directory |
− | * If | + | * If it complains, fix the problems, then repeat |
− | Copy and | + | Copy and save the output of <tt>validate_env.py</tt> in a text file. You will need to submit this on Udacity. |
==Resources and ideas== | ==Resources and ideas== | ||
+ | |||
+ | Tip: If you are working on another Python-based class or project that may depend on specific versions of Python libraries, we strongly recommend that you use [http://docs.python-guide.org/en/latest/dev/virtualenvs/ Virtual Environments]. | ||
==What to turn in== | ==What to turn in== | ||
− | + | Submit the output of <tt>validate_env.py</tt> on Udacity. Continue here: [https://www.udacity.com/course/viewer#!/c-ud501/l-4314548698/m-4286272424 MC1-Homework-2 - Instructions] | |
− | |||
− |
Revision as of 09:51, 14 August 2015
Overview
The purpose of this homework is to make sure you've got a development environment set up so you can write and test code for the remaining assignments. Your development environment includes:
- The proper version of Python (namely 2.7)
- Installation of necessary libraries (e.g. Pandas, NumPy, etc.)
- Installation of historical stock data.
Important note: We use a specific, static set of data for this course. If you download your own data from Yahoo, you will get the wrong answers on the assignments.
Task
You should:
- Follow installation instructions here: ML4T Software Installation
- Test your environment by running the script validate_env.py from the ML4T/ directory
- If it complains, fix the problems, then repeat
Copy and save the output of validate_env.py in a text file. You will need to submit this on Udacity.
Resources and ideas
Tip: If you are working on another Python-based class or project that may depend on specific versions of Python libraries, we strongly recommend that you use Virtual Environments.
What to turn in
Submit the output of validate_env.py on Udacity. Continue here: MC1-Homework-2 - Instructions