This 5-week computational analytics bootcamp is part of the MS in Analytics program at the University of San Francisco and is specifically designed as an introduction to analytics programming for those who are not yet skilled programmers. The course also explores many concepts from math and statistics, but in an empirical fashion rather than symbolically as one would do in a math class. Consequently, this course is also useful to programmers who would like to strengthen their understanding of numerical methods.
INSTRUCTOR. Terence Parr. I’m a professor in the computer science department and was founding director of the MS in Analytics program at USF. Please call me Terence or Professor (the use of “Terry” is a capital offense).
SPATIAL COORDINATES. 101 Howard first floor Rm 155-156.
TEMPORAL COORDINATES. Monday 1-5pm, Tues 10-12pm; July 11 (Mon) - August 9 (Tue).
INSTRUCTION FORMAT. Class runs for 4 hours on Monday and then 2 hours on Tuesday. Instructor-student interaction during lecture is encouraged and we'll mix in mini-exercises / labs during class. All programming will be done in the Python programming language, unless otherwise specified.
TARDINESS. Please be on time for class. It is a big distraction if you come in late.
ACADEMIC HONESTY. You must abide by the copyright laws of the United States and academic honesty policies of USF. You may not copy code from other current or previous students. All suspicious activity will be investigated and, if warranted, passed to the Dean of Sciences for action. Copying answers or code from other students or sources during a quiz, exam, or for a project is a violation of the university’s honor code and will be treated as such. Plagiarism consists of copying material from any source and passing off that material as your own original work. Plagiarism is plagiarism: it does not matter if the source being copied is on the Internet, from a book or textbook, or from quizzes or problem sets written up by other students. Giving code or showing code to another student is also considered a violation.
The golden rule: You must never represent another person’s work as your own.
If you ever have questions about what constitutes plagiarism, cheating, or academic dishonesty in my course, please feel free to ask me.
Note: Leaving your laptop unattended is a common means for another student to take your work. It is your responsibility to guard your work. Do not leave your printouts laying around or in the trash. All persons with common code are likely to be considered at fault.
ON DISABILITIES. If you are a student with a disability or disabling condition, or if you think you may have a disability, please contact USF Student Disability Services (SDS) at 415/422-2613 within the first week of class, or immediately upon onset of the disability, to speak with a disability specialist. If you are determined eligible for reasonable accommodations, please meet with your disability specialist so they can arrange to have your accommodation letter sent to me, and we will discuss your needs for this course. For more information, please visit http://www.usfca.edu/sds/ or call 415/422-2613.
Artifact | Grade Weight | Due date |
---|---|---|
Image processing | 12% | Sunday July 17, 2016 midnight |
Confidence Intervals for Price of Hostess Twinkies | 6% | Sunday July 24, 2016 midnight |
Is Free Beer Good For Tips? | 7% | Sunday July 24, 2016 midnight |
Predicting Murder Rates With Gradient Descent | 12% | Sunday July 31, 2016 midnight |
Search Engine Implementation | 12% | Sunday August 7, 2016 midnight |
Quiz 1 | 6% | Tuesday, July 12 |
Quiz 2 | 11% | Monday, July 18 |
Quiz 3 | 11% | Monday, July 25 |
Quiz 4 | 11% | Monday, August 1 |
Quiz 5 | 11% | Tuesday, August 9 |
All projects are graded in binary fashion: They either work or they do not. Each project has a hard deadline and only those projects working correctly before the deadline get credit (100%). My grading script pulls from github at the deadline. If you miss the deadline, you can still get 80% for the project if you complete it correctly by end of last class period.
This class is pass/fail and we expect most people to pass, but those getting below 80% raw average score are in the danger zone.
- Administrivia
- Lightning lab: Problem solving
- How computers work
- The representation of data
- unary, binary
- ascii characters
- images, audio (audio plot, audio scale)
- python atomic types
- 'Bash' your way to victory
- Lightning lab: Say Hello
- Simple statements and functions
- Lists and loops with vectors
- Objects versus primitive types
- Computing point stats
- Importing library code
- Importing your own code
- Generating histograms
- Scatter plots and line fitting
Topics:
- Expressions; arithmetic, powers, roots, string
%
, stringin
- Assignment to (global) variables
- Demo Python tutor
- Calling built-in functions
- Relational operators
- Conditional statements
- List comprehensions
- Command-line arguments
- Read input from stdin
- While loops
- For loops
- Basic debugging of loops with PyCharm; see PyCharm doc
- Functions
- purpose, def
- Generating Uniform Random Numbers
- args, locals, use of globals
- qualified calls; packages, objects
- debugging of funcs with PyCharm
- Histograms using matplotlib
- Image processing (project)
- PyCharm
- Raw python notes
- You will need to Git on it to submit your first project.
- Generating pseudorandom variables
- The Central limit theorem in action
- Boostrapping, resampling
- Empirical Confidence Intervals
- Empirical p-values
- Is Free Beer Good For Tips? (project)
- Approximating square root through iteration
- Using recursion to compute n factorial
- Iterative Optimization Via Gradient Descent
- Predicting Murder Rates With Gradient Descent (project)