Sphinx-Themes Template Release 1

Total Page:16

File Type:pdf, Size:1020Kb

Sphinx-Themes Template Release 1 Sphinx-Themes template Release 1 Jan 24, 2019 Section I: 1 Getting Started 1 2 Data, Science, and Design 3 3 Introduction to Data 9 4 Command Line and UNIX 21 5 Introduction to Python 25 6 Exploratory Data Analysis 35 7 Important Libraries 49 8 Mapping Data with Folium 55 9 Exploring Data 63 10 Investigating Stop and Frisk 69 11 Folium and Mapping 77 12 Lab 04: Scraping Reviews 79 13 Web Design 87 14 Flask App 91 15 FLASK App 97 16 Learning Application 99 17 Indices and tables 101 i ii CHAPTER 1 Getting Started Please be sure you’ve downloaded and installed the following programs/applications: • the latest version of Anaconda from here • if Windows, download, install, during installation add to PATH, git for windows here • a text editor such as Sublime Text, or Atom 1 Sphinx-Themes template, Release 1 1.1 Class Schedule Class Number Topic MODULE I 1 Introduction and Overview 2 Pandas and EDA I 3 Pandas and EDA II 4 Plotting and Presentation Graphics MODULE II 5 Linear Regression I: OLS 6 Linear Regression II: Ridge, Lasso, Elastic Net 7 Classification I: Logistic Regression and KNN 8 Classification II: Evaluation Metrics 9 Modeling Practice 10 Webscraping and NLTK I 11 Webscraping and NLTK II MODULE III 12 Additional Models I 13 Additional Models II 14 Decision Trees 15 Forest Models 16 Deployment and Databases I 17 Deployment and Databases II MODULE IV 18 Artifical Intelligence I: Perceptrons and Neural Networks 19 Artificial Intelligence II: Introduction to Deep Learning 20 Final Presentations 1.2 Assignments Number Topic Due 1 Exploratory Data Analysis 6.27 2 Regression 7.9 3 Classification 7.16 4 Final Data Set and EDA 7.25 5 Final Data Set Initial Models 8.8 6 Final Data Set Models II 8.15 7 Final Presentation and Project 8.22 [ ]: 2 Chapter 1. Getting Started CHAPTER 2 Data, Science, and Design INSTRUCTOR: Jacob Frias Koehler, PhD EMAIL: [email protected] LOCATION: University Center 300 TIME: Monday and Wednesday 12:00 - 1:15 pm WEBSITE: https://github.com/jfkoehler/code-toolkit SLACK CHANNEL: https://codeliberalarts.slack.com This course aims to introduce students to the Python computing language. Students will write basic programs with Python, investigate the use of Python to perform data analysis (including machine learning and artificial intelligence), use Python to access and structure information from the web, and also use Python to build and deploy web based applications. The course will teach these skills through three projects 1) analysis of public policing data 2) a sentiment analysis and topic modeling project using news articles and social media data, and 3) design and deployment of a personal web application. No prior experience with the Python computing language is required, however students are expected to own a laptop computer, or check one out from the University and bring it with them to every class. 2.1 Course Requirements • participate in class discussions on readings and computing work ( 20 %) • contribute to slack each week (5 %) • complete weekly assignments (40%) • complete three projects (35%) 3 Sphinx-Themes template, Release 1 2.1.1 Learning Outcomes By successful completion of this course, students will be able to: • Use Python to access, load, and analyze data in a variety of formats • Use API’s to query databases and build datasets • Use Python to implement Standard Machine Learning Algorithms in supervised and unsupervised learning problems • Use Python to model with Artificial Neural Networks • Use Python to build Web Applications • Understand the Object Oriented Programming Style • Discuss historical context for important algorithms and methods in contemporary data science More generally, we hope that students will be able to: 1. use computation as a tool to enhance their liberal arts education—to better analyze, communicate, create and learn. 2. gain a broader understanding of the historical and social factors leading to the rise of coding. 3. work through the social and political implications of/embedded within computational technologies and develop an accompanying ethical framework. 4. think critically about the ways they and others interact with computation including understanding its limits from philosophical, logical, mathematical and public policy perspectives 5. engage in project-based and collaborative learning that utilizes computational/algorithmic thinking. 6. understand the intrinsic relationship between the physical world, analog environments and digital experiences 2.2 Outline This is a starting outline for the course, and is likely to change as we move through the semester. 2.3 Section I: Introduction to Python and Data 2.3.1 WEEK 1 • Introduction to Python: Foundations. data types: int, str, float, boolean 2.3.2 Week 2 • Introduction to Python: Control Flow and Functions • Introduction to Python: Collections 2.3.3 Week 3 • Introduction to Pandas I • Introduction to Pandas II 4 Chapter 2. Data, Science, and Design Sphinx-Themes template, Release 1 2.3.4 Week 4 • Visualization with Bokeh I • Visualization with Bokeh II 2.3.5 Week 5 Exploring Policing Data Project • Mapping Workshop with Folium • Presenting with Code 2.4 Section II: Prediction 2.4.1 Week 6 • Introduction to Machine Learning: Regression • Introduction to Machind Learning: Classification 2.4.2 Week 7 • Machine Learning with Text I • Machine Learning with Text II 2.4.3 Week 8 • Machine Learning with Images I • Machine Learning with Images II 2.4.4 Week 9 • Introduction to Neural Networks I • Introduction to Deep Learning I 2.4.5 Week 10 Predicting the Future • Keras and PyTorch samples 2.4. Section II: Prediction 5 Sphinx-Themes template, Release 1 2.5 Section III: Web Deployment 2.5.1 Week 11 • Intro to Flask I • Intro to Flask II 2.5.2 Week 12 • Advanced Flask • Advanced Flask 2.5.3 Week 13 FINAL PROJECT WORKSHOPS 2.5.4 Week 14 2.5.5 Week 15 PRESENTATIONS 2.6 Resources The university provides many resources to help students achieve academic and artistic excellence. These resources include: - University Libraries: http://library.newschool.edu - University Learning Center: http://www.newschool.edu/ learning-center - University Disabilities Service: www.newschool.edu/student-disability-services/ In keeping with the university’s policy of providing equal access for students with disabilities, any student with a disability who needs academic accommodations is welcome to meet with me privately. All conversations will be kept confidential. Students requesting any accommodations will also need to contact Student Disability Service (SDS). SDS will conduct an intake and, if appropriate, the Director will provide an academic accommodation notification letter for you to bring to me. At that point, I will review the letter with you and discuss these accommodations in relation to this course. Student Ombuds: The Student Ombuds office provides students assistance in resolving conflicts, disputes or com- plaints on an informal basis. This office is independent, neutral, and confidential. 2.6.1 Academic Honesty and Integrity Compromising your academic integrity may lead to serious consequences, including (but not limited to) one or more of the following: failure of the assignment, failure of the course, academic warning, disciplinary probation, suspension from the university, or dismissal from the university. Students are responsible for understanding the University’s policy on academic honesty and integrity and must make use of proper citations of sources for writing papers, creating, presenting, and performing their work, taking exami- nations, and doing research. It is the responsibility of students to learn the procedures specific to their discipline for 6 Chapter 2. Data, Science, and Design Sphinx-Themes template, Release 1 correctly and appropriately differentiating their own work from that of others. The full text of the policy, including adjudication procedures, is found at http://www.newschool.edu/policies/ Resources regarding what plagiarism is and how to avoid it can be found on the Learning Center’s website: http: //www.newschool.edu/university-learning-center/avoiding-plagiarism.pdf Intellectual Property Rights: http://www.newschool.edu/provost/accreditation-policies/ Grade Policies: http://www.newschool.edu/registrar/academic-policies/ 2.6.2 Attendance “Absences may justify some grade reduction and a total of four absences mandate a reduction of one letter grade for the course. More than four absences mandate a failing grade for the course, unless there are extenuating circumstances, such as the following: an extended illness requiring hospitalization or visit to a physician (with documentation); a family emergency, e.g. serious illness (with written explanation); observance of a religious holiday. The attendance and lateness policies are enforced as of the first day of classes for all registered students. If registered during the first week of the add/drop period, the student is responsible for any missed assignments and coursework. For significant lateness, the instructor may consider the tardiness as an absence for the day. Students failing a course due to attendance should consult with an academic advisor to discuss options. Divisional and/or departmental/program policies serve as minimal guidelines, but policies may contain additional elements determined by the faculty member.” Please note: Writing Faculty have a slightly different policy, please check with your chair. Responsibility Students are responsible for all assignments, even if they are absent. Late papers, failure to complete the readings assigned for class discussion, and lack of preparedness for in-class discussions and presentations will jeopardize your successful completion of this course. Participation Class participation is an essential part of class and includes: keeping up with reading, contributing meaningfully to class discussions, active participation in group work, and coming to class regularly and on time. Student Course Ratings During the last two weeks of the semester, students are asked to provide feedback for each of their courses through an online survey.
Recommended publications
  • Underground Power Records List 4 -2020.P[...]
    This is the last List that will be sent to all emails on our previous email distributor - we will build up a new one. So all friends who order for sure will be on the new distributor. All others please send a short message and we will add you too for sure. The list will be also on our website and we will announce ever new one on facebook. Our own new releases will be on the next List (Xmas or January)! Das ist die letzte Liste die an den alten email Verteiler geschickt wird - wir bauen einen Neuen auf. Alle Besteller werden automatisch in den neuen aufgenommen. Alle Anderen die den Newsletter erhalten möchten senden bitte eine kurze Bestätigung, dass Sie künftig auch wieder in den Verteiler aufgenommen werden wollen. Die Liste wird auch auf unserer Webseite veröffentlicht und immer auf facebook angekündigt. Unsere eigenen neuen Releases werden auf der nächsten Liste erscheinen (um Weihnachten oder im Januar) ! CD ADORNED GRAVES – Being towards a River (NEW*EPIC/THRASH METAL*TOURNIQUET*DELIVERANCE) - 14 GER Private Press 2020 – Brandnew Oldschool 80’s Epic / Thrash Metal with elements of Epic Doom / Death Metal from Germany ! For Fans of Vengeance Rising, Tourniquet, Deliverance, Believer, Martyr / Betrayal or Metallica and Slayer, but also Black Sabbath + Trouble ! Melodic Old School Epic Doom N Thrash Death Metal Einschlägen, der Einfachheit halber als „Thrash Metal“. ALCATRAZZ - Born Innocent (NEW*MELODIC METAL*G.BONNET*RAINBOW*MSG*TNT) - 15 Silver Lining Music 2020 - Brandnew limited CD Digipak Fantastic Melodic Metal / Hard Rock with Original Line up Graham Bonnet, Keyboarder Jimmy Waldo and Bassplayer Gary Shea – now together with Guitar Hero Joe Stump and some fantastic guest musicians: Chris Impellitteri, Bob Kulick, Nozumu Wakai, Steve Vai, Dario Mollo, Don Van Stavern or Jeff Waters For Fans of RAINBOW, TNT, EUROPE, DOKKEN, MICHAEL SCHENKER ANGEL WITCH – Screamin’ ‘n’ Bleedin’ (NEW*LIM.500*NWOBHM CLASSIC 1985) – 18 € N.W.O.B.H.M.
    [Show full text]
  • D:\Teora\Radu\R\Pdf\Ghid Pop Rock\Prefata.Vp
    DedicaÆie: Lui Vlad Månescu PREFAæÅ Lucrarea de faÆå cuprinde câteva sute de biografii çi discografii ale unor artiçti çi trupe care au abordat diverse stiluri çi genuri muzicale, ca pop, rock, blues, soul, jaz çi altele. Cartea este dedicatå celor care doresc så-çi facå o idee despre muzica çi activitatea celor mai cunoscuÆi artiçti, mai noi çi mai vechi, de la începutul secolului çi pânå în zilele noastre. Totodatå am inclus çi un capitol de termeni muzicali la care cititorul poate apela pentru a înÆelege anumite cuvinte sau expresii care nu îi sunt familiare. Fårå a se dori o lucrare foarte complexå, aceastå micå enciclopedie oferå date esenÆiale din biografia celor mai cunoscuÆi artiçti çi trupe, låsând loc lucrårilor specializate pe un anumit gen sau stil muzical så dezvolte çi så aprofundeze ceea ce am încercat så conturez în câteva rânduri. Discografia fiecårui artist sau trupå cuprinde albumele apårute de la începutul activitåÆii çi pânå în prezent, sau, de la caz la caz, pânå la data desfiinÆårii trupei sau abandonårii carierei. Am numit disc de platinå sau aur acele albume care s-au vândut într-un anumit numår de exemplare (diferit de la Æarå la Æarå, vezi capitolul TERMENI MUZICALI) care le-au adus acest statut. Totodatå, am inclus çi o serie de LP-uri BEST OF sau GREATEST HITS apårute la casele de discuri din întreaga lume. De aceea veÆi observa cå discografia unui artist sau a unei trupe cuprinde mai multe albume decât au apårut în timpul vieÆii sau activitåÆii acestora (vezi Jimi Hendrix, de exemplu) çi asta pentru cå industria muzicalå çi magnaÆii acesteia çi-au protejat contractele çi investiÆiile iniÆiale cât mai mult posibil, profitând la maximum de numele artiçtilor çi trupelor lor.
    [Show full text]
  • Dokken Mp3 Free Album Download Dokken Mp3 Free Album Download
    dokken mp3 free album download Dokken mp3 free album download. Dokken - Discography. Country: USA Genre: Hard Rock / Heavy Metal / Glam Metal Quality: Mp3,@CBR 320 kbps, Scans Albums: 1979 - Back In The Streets (demo) 1983 - Breaking The Chains 1984 - Tooth And Nail 1985 - Under Lock And Key 1987 - Dream Warriors (ep) 1987 - Back For The Attack 1988 - Beast From The East (live) 1994 - Dokken 1995 - Dysfunctional 1995 - One Live Night 1997 - Shadowlife 1999 - Erase The Slate 2002 - Long Way Home 2004 - Hell To Pay 2008 - Lightning Strikes Again 2012 - Broken Bones. Tracklist: 01. Back In The Streets (3:18) 02. Felony (2:49) 03. Day After Day (5:36) 04. We're Going Wrong (3:35) 05. Liar (live) (3:47) 06. Prisoner (live) (6:02) [Japan, HMI 3004, 1990] Tracklist: 01. Breaking The Chains (3:51) 02. In The Middle (3:44) 03. Felony (3:08) 04. I Can't See You (3:12) 05. Live To Rock (Rock To Live) (3:39) 06. Nightrider (3:13) 07. Seven Thunders (3:55) 08. Young Girls (3:14) 09. Stick To Your Guns (3:27) 10. Paris Is Burning (live) (5:10) [Japan, 32XD-484, 1986] Tracklist: 01. Without Warning (1:35) 02. Tooth And Nail (3:40) 03. Just Got Lucky (4:34) 04. Heartless Heart (3:30) 05. Don't Close Your Eyes (4:10) 06. When Heaven Comes Down (3:44) 07. Into The Fire (4:27) 08. Bullets To Spare (3:36) 09. Alone Again (4:19) 10. Turn On The Action (4:44) [Japan, 32XD-302, 1984] Tracklist: 01.
    [Show full text]
  • New Release Guide
    ada–music.com @ada_music NEW RELEASE GUIDE August 21 August 28 ORDERS DUE JULY 17 ORDERS DUE JULY 24 2020 ISSUE 18 August 21 ORDERS DUE JULY 17 ERASURE The Neon Street Date: 8/21/20 Mute are pleased to announce the release of Erasure’s Depeche Mode, Pet Shop Boys, (Andy Bell and Vince Clarke) 18th studio album, The Neon, FOR FANS OF: Orchestral Manoeuvres in the Dark to be released August 21 on limited edition neon orange vinyl, standard black vinyl, limited edition CD, and digital Neon Orange LP: 724596995730 platforms. SLRP: 22.98 File Under: Electronic The Neon is a place that lives in the imagination. It could Box Lot: 25 LP Non-Returnable be a night club, a shop, a city, a cafe, a country, a bedroom, NOT FOR EXPORT a restaurant, any place at all. It’s a place of possibility in warm, glowing light and this is music that takes you there. LP: 724596995716 SLRP: 22.98 Written and produced by Erasure, the album’s initial File Under: Electronic sessions saw Vince and Andy reunite to work on the Box Lot: 25 follow up to 2017’s World Be Gone with a fresh optimism LP Non-Returnable NOT FOR EXPORT and energy, in part born from their own recent personal CD: 724596995723 projects. Vince goes on to explain, “Our music is always a SLRP: 14.98 reflection of how we’re feeling. Andy was in a good place File Under: Electronic spiritually, and so was I – really good places in our minds. Box Lot: 30 You can hear that.” NOT FOR EXPORT Taking inspiration from pop music through the decades, Digital UPC: 724596995754 from bands Andy loved as a child through to the present day, he explains, “It was about refreshing my love – TRACKLISTING: hopefully our love – of great pop.
    [Show full text]