8000 Home · jcchurch/PythonAndR Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
jcchurch edited this page Jan 11, 2012 · 30 revisions
< 8000 div data-view-component="true" class="Layout Layout--flowRow-until-md Layout--sidebarPosition-end Layout--sidebarPosition-flowRow-end">

Welcome to the PythonAndR wiki!

Objectives

This is the wiki page for the CSCI 391 course. Here are the course objectives.

  1. The student will learn the languages Python and R.
  2. The student will be comfortable using large datasets in the languages Python and R.
  3. The student will become familiar with the graphics capabilities of the R environment and the matplotlib library in Python.
  4. The student will become familiar with the mathematical tools used to understand the relationships between univariate, bivariate, and multivariate data.
  5. The student will become familiar with using Internet APIs for the purposes of data aggregation.

Class Links

  • Notes - Notes for the entire course. Updated daily.

Data Sources

Homework

I would like to have a homework assignment on the following dates:

  1. Monday, January 2nd - Reading data from a file.
  2. Tuesday, January 3nd - Plotting data from a file.
  3. Wednesday, January 4nd - Kernel Density Estimator of Time Series Data
  4. Thursday, January 5th - Linear Regression of two variables
  5. Monday, January 9th - Non-Linear Regression of two variables
  6. Tuesday, January 10th - Multiple Regression of 4 independent variables + 1 dependent variable
  7. Wednesday, January 11th - Word Frequencies in Twitter Data

Getting Started on Windows

If you are working on a home computer, you can download one program with all of the necessary libraries used in this course:

  • Download Endthought Python Free (It only costs your email address. Lie.)
  • Install the software. I used "H:\Python27" as my install directory.
  • Update your environment variables.
    1. Go to Start -> Control Panel -> System
    2. Click the "Advanced" tab.
    3. Click the "Environment Variables" button.
    4. Under "User Variables for ...", click "New".
    5. Name this new variable name "MPLCONFIGDIR". The directory should be a writable directory on your computer. In the labs, I used "H:\Python27" for the variable value.
  • Test your installation.
    1. Navigate to your new Python installation.
    2. Click on "python.exe". This brings up the Python interactive prompt.
    3. Type "import pylab". If you see nothing returned by the prompt, you are good to go. If you have an error, contact me.

Getting Started on Ubuntu Linux

  • Start up your terminal.
  • Type "sudo apt-get install python-matplotlib python-scipy python-numpy"
  • Type in your password.
  • Wait.
  • Eat a sandwich. Shower. Trim your beard (only a suggestion).

Getting Started on Mac OSX

I'm not a Mac user. Follow these instructions. I hope they work.

Clone this wiki locally
0