Introduction to Machine Learning

Similar documents
PHY2048 Syllabus - Physics with Calculus 1 Fall 2014

Business Analytics and Information Tech COURSE NUMBER: 33:136:494 COURSE TITLE: Data Mining and Business Intelligence

CS 100: Principles of Computing

INTERMEDIATE ALGEBRA Course Syllabus


Lecture 1: Machine Learning Basics

General Physics I Class Syllabus

Math 181, Calculus I

CS4491/CS 7265 BIG DATA ANALYTICS INTRODUCTION TO THE COURSE. Mingon Kang, PhD Computer Science, Kennesaw State University

CS 3516: Computer Networks

Syllabus - ESET 369 Embedded Systems Software, Fall 2016

Course Syllabus for Math

MAR Environmental Problems & Solutions. Stony Brook University School of Marine & Atmospheric Sciences (SoMAS)

Foothill College Summer 2016

ACTL5103 Stochastic Modelling For Actuaries. Course Outline Semester 2, 2014

Lahore University of Management Sciences. FINN 321 Econometrics Fall Semester 2017

ECON492 Senior Capstone Seminar: Cost-Benefit and Local Economic Policy Analysis Fall 2017 Instructor: Dr. Anita Alves Pena

CSL465/603 - Machine Learning

GIS 5049: GIS for Non Majors Department of Environmental Science, Policy and Geography University of South Florida St. Petersburg Spring 2011

CS 1103 Computer Science I Honors. Fall Instructor Muller. Syllabus

Data Structures and Algorithms

Stochastic Calculus for Finance I (46-944) Spring 2008 Syllabus

State University of New York at Buffalo INTRODUCTION TO STATISTICS PSC 408 Fall 2015 M,W,F 1-1:50 NSC 210

Course Content Concepts

MTH 215: Introduction to Linear Algebra

Instructor. Darlene Diaz. Office SCC-SC-124. Phone (714) Course Information

Course Guide and Syllabus for Zero Textbook Cost FRN 210

ACCT 100 Introduction to Accounting Course Syllabus Course # on T Th 12:30 1:45 Spring, 2016: Debra L. Schmidt-Johnson, CPA

MKTG 611- Marketing Management The Wharton School, University of Pennsylvania Fall 2016

GRADUATE STUDENT HANDBOOK Master of Science Programs in Biostatistics

MATH 1A: Calculus I Sec 01 Winter 2017 Room E31 MTWThF 8:30-9:20AM

RM 2234 Retailing in a Digital Age SPRING 2016, 3 credits, 50% face-to-face (Wed 3pm-4:15pm)

Office Hours: Mon & Fri 10:00-12:00. Course Description

EDCI 699 Statistics: Content, Process, Application COURSE SYLLABUS: SPRING 2016

Spring 2014 SYLLABUS Michigan State University STT 430: Probability and Statistics for Engineering

Syllabus ENGR 190 Introductory Calculus (QR)

*In Ancient Greek: *In English: micro = small macro = large economia = management of the household or family

University of Florida ADV 3502, Section 1B21 Advertising Sales Fall 2017

CS Course Missive

BA 130 Introduction to International Business

Generative models and adversarial training

Lecture 1: Basic Concepts of Machine Learning

AGN 331 Soil Science Lecture & Laboratory Face to Face Version, Spring, 2012 Syllabus

Accounting 312: Fundamentals of Managerial Accounting Syllabus Spring Brown

SOUTHERN MAINE COMMUNITY COLLEGE South Portland, Maine 04106

MAT 122 Intermediate Algebra Syllabus Summer 2016

Python Machine Learning

Instructor Dr. Kimberly D. Schurmeier

Introduction. Chem 110: Chemical Principles 1 Sections 40-52

MGT/MGP/MGB 261: Investment Analysis

Chromatography Syllabus and Course Information 2 Credits Fall 2016

Introduction to Forensic Drug Chemistry

Teaching a Discussion Section

CIS Introduction to Digital Forensics 12:30pm--1:50pm, Tuesday/Thursday, SERC 206, Fall 2015

CS 101 Computer Science I Fall Instructor Muller. Syllabus

Penn State University - University Park MATH 140 Instructor Syllabus, Calculus with Analytic Geometry I Fall 2010

The 9 th International Scientific Conference elearning and software for Education Bucharest, April 25-26, / X

Firms and Markets Saturdays Summer I 2014

CS Machine Learning

Syllabus for CHEM 4660 Introduction to Computational Chemistry Spring 2010

Computer Science 1015F ~ 2016 ~ Notes to Students

Phys4051: Methods of Experimental Physics I

SOUTHWEST COLLEGE Department of Mathematics

Class Numbers: & Personal Financial Management. Sections: RVCC & RVDC. Summer 2008 FIN Fully Online

AGN 331 Soil Science. Lecture & Laboratory. Face to Face Version, Spring, Syllabus

Course Description. Student Learning Outcomes

Artificial Neural Networks written examination

COSI Meet the Majors Fall 17. Prof. Mitch Cherniack Undergraduate Advising Head (UAH), COSI Fall '17: Instructor COSI 29a

CALCULUS I Math mclauh/classes/calculusi/ SYLLABUS Fall, 2003

COURSE DESCRIPTION PREREQUISITE COURSE PURPOSE

Nutrition 10 Contemporary Nutrition WINTER 2016

(Sub)Gradient Descent

Fall 2016 ARA 4400/ 7152

EDU 614: Advanced Educational Psychology Online Course Dr. Jim McDonald

Beginning and Intermediate Algebra, by Elayn Martin-Gay, Second Custom Edition for Los Angeles Mission College. ISBN 13:

Probability and Game Theory Course Syllabus

Class Meeting Time and Place: Section 3: MTWF10:00-10:50 TILT 221

MATH 108 Intermediate Algebra (online) 4 Credits Fall 2008

TEACHING ASSISTANT TBD

T/Th 8:00 AM 9:20 AM office Muir Biology Building 4268 (best contact) Peterson 108 (B)

SYLLABUS. EC 322 Intermediate Macroeconomics Fall 2012

CROSS-LANGUAGE INFORMATION RETRIEVAL USING PARAFAC2

Office Hours: Day Time Location TR 12:00pm - 2:00pm Main Campus Carl DeSantis Building 5136

Winter School, February 1 to 5, 2016 Schedule. Ronald Schlegel, December 10, 2015

EECS 700: Computer Modeling, Simulation, and Visualization Fall 2014

Process to Identify Minimum Passing Criteria and Objective Evidence in Support of ABET EC2000 Criteria Fulfillment

3D DIGITAL ANIMATION TECHNIQUES (3DAT)

Foothill College Fall 2014 Math My Way Math 230/235 MTWThF 10:00-11:50 (click on Math My Way tab) Math My Way Instructors:

Reducing Features to Improve Bug Prediction

System Implementation for SemEval-2017 Task 4 Subtask A Based on Interpolated Deep Neural Networks

STA2023 Introduction to Statistics (Hybrid) Spring 2013

LEGAL RESEARCH & WRITING FOR NON-LAWYERS LAW 499B Spring Instructor: Professor Jennifer Camero LLM Teaching Fellow: Trygve Meade

Spring 2015 IET4451 Systems Simulation Course Syllabus for Traditional, Hybrid, and Online Classes

Introduction to Ensemble Learning Featuring Successes in the Netflix Prize Competition

Assignment 1: Predicting Amazon Review Ratings

The Moodle and joule 2 Teacher Toolkit

Medical Terminology - Mdca 1313 Course Syllabus: Summer 2017

CHEMISTRY 104 FALL Lecture 1: TR 9:30-10:45 a.m. in Chem 1351 Lecture 2: TR 1:00-2:15 p.m. in Chem 1361

HCI 440: Introduction to User-Centered Design Winter Instructor Ugochi Acholonu, Ph.D. College of Computing & Digital Media, DePaul University

UASCS Summer Planning Committee

Transcription:

Outline Introduction to Machine Learning Course Logistics Varun Chandola January 31, 018 1 Class Details Class Details Lecture Information Monday, Wednesday, Friday (9.00-9.50 AM) 109 Knox Recitations 1. 10.00-10.50 AM Monday, Norton 10. 01.00-01.50 PM Tuesday, Bell 337 3. 08.00-08.50 AM Friday, Cooke 17a Contents 1 Class Details Syllabus 3 3 Textbooks 4 4 Grading 5 5 Gradiance 6 6 Python 7 7 Socrative Online 7 8 Honor Code 8 9 Checklist and Resources 8 10 Warmup 9 Recitation topics are listed in the syllabus No recitation this week. Class web page http://www.cse.buffalo.edu/~chandola/machinelearning.html https://piazza.com/buffalo/spring018/cse474/home Instructor Varun Chandola http://www.cse.buffalo.edu/~chandola Email: chandola@buffalo.edu Office: 304 Davis Hall Phone: (716) 645-4747 Office Hours: 1.00 PM - 3.00 PM (Mondays)

Teaching Assistants Xin Ma Email: xma4@buffalo.edu Office Hours: 10.00 AM - 11.00 AM (Fridays) Rudra Prasad Bakshi Email: rudrapra@buffalo.edu Office Hours: 11.30 AM - 1.30 PM (Wednesdays) Hongfei Xue Email: hongfeix@buffalo.edu Office Hours: 4.00 PM - 5.00 PM (Mondays) Piazza Primary medium of communication All announcements, teaching notes, slides, polls, etc. available through Piazza. Questions? 1. General post to all (Name will be visible). Choose appropriate folder.. Private post to instructor, TA. Interact. Syllabus Theoretical Machine Learning Concept Learning Mistake Bound Online Learning 3 will be made Vapnik-Chervonenkis Dimension PAC Learning Statistical Learning Theory Machine Learning Tools Bayesian Inference Expectation Maximization Optimization Machine Learning Algorithms Linear Regression Linear Classification Neural Networks Support Vector Machines Kernel Methods Latent Space Models (PCA) Mixture of Models Bayesian Networks 3 Textbooks Textbooks No prescribed text Primary references Tom Mitchell, Machine Learning. McGraw-Hill, 1997. Kevin Murphy, Machine Learning: A Probabilistic Perspective, MIT Press, 01. 4

Optional reading list David Mackay, Information Theory, Inference, and Learning Algorithms, Cambridge Press, 003. http://www.inference.phy.cam.ac.uk/mackay/itila/book. html Trevor Hastie, Robert Tibshirani and Jerome Friedman, The Elements of Statistical Learning. Springer, 009. Chris Bishop, Pattern Recognition and Machine Learning, Springer, 006. Richard Duda, Peter Hart and David Stork, Pattern Classification, nd ed. John Wiley & Sons, 001. David Barber, Bayesian Reasoning and Machine Learning, Cambridge University Press, 01. 4 Grading http://web4.cs.ucl.ac.uk/staff/d.barber/textbook/09113. pdf Grading Scheme Short weekly quizzes using Gradiance (1) 0% Programming Assignments (3) 30% Mid-term Exam (in-class, open book/notes) on 03/16/018 0% Final Exam (in-class, open book/notes) on 05/16/018 30% All components will be individually curved Final grade: A [9.5, 100] A- [87.5, 9.5) B+ [8.5, 87.5) B [77.5, 8.5) Use UBLearns for all electronic submissions B- [7.5, 77.5) C+ [67.5, 7.5) C [6.5, 67.5) C- [57.5, 6.5) Final exam will not be comprehensive All multi-choice objective problems No partial credit 5 Gradiance An online quiz system One quiz per week released on Monday by 8.59 AM and due next Sunday by 11.59 PM 3-4 multiple choice problems about topics covered that week A warm up quiz (ungraded) is posted 5-minute delay between successive submissions Only 3 tries allowed, maximum score will be used Every wrong answer will result in 1 negative point per try Gradiance Enrollment Go to http://www.newgradiance.com/services Register and use the class token FC4761F5 Make sure you register using your UBIT name as the username No other username will be accepted All material covered in class 5 6

6 Python All programming assigments and class demonstrations using Python Resources: Github Repo Installing python, ipython Python IDE - Canopy More about ipython notebooks Python for Developers, a complete book on Python programming by Ricardo Duarte CodeAmerica - Python An introduction to machine learning with Python and scikit-learn (repo and overview) by Hannes Schulz and Andreas Mueller https://github.com/ubdsgroup/ubmlcourse http://nbviewer.ipython.org/github/ubdsgroup/ubmlcourse/tree/ master/notebooks/ 7 Socrative Online Online student response system Random number generator! http://m.socrative.com/student/ Enter class ID - 5943 Optional 8 Honor Code Academic Integrity and Honor Code http://www.cse.buffalo.edu/shared/policies/academic.php Against the ML honor code to: 1. Collaborate on Gradiance quizzes. Collaborate or cheat during exams 3. Submit someone else s work, including from the internet, as one s own for any submission 4. Misuse Piazza forum You are allowed to: 1. Have discussions about homeworks. Every student should submit own homework with names of students in the discussion group explicitly mentioned.. Collaborate in groups of or 3 for programming assignments. One submission is required for each group. Violation of ML honor code and departmental policy will result in an automatic F for the concerned submission Two violations fail grade in the course 9 Checklist and Resources Checklist and Resources 1. Sign-up for Piazza. Sign-up for Gradiance, try warm-up quiz 3. Read the department s academic integrity policy Resources 7 8

Piazza - piazza.com/buffalo/spring018/cse474/home Video Channel - TBA Course slides and handouts - www.cse.buffalo.edu/~chandola/machinelearning. html Github Repo - github.com/ubdsgroup/ubmlcourse Notebooks - nbviewer.ipython.org/github/ubdsgroup/ubmlcourse/ tree/master/ 10 Warmup A fair coin Probability of heads? 5 heads in a row? 5 th head after seen 4 heads in a row? Gambler s Fallacy If I know that probability of two people bringing a bomb on a plane is very low, should I bring a bomb along to make myself safer? Assuming that the coin is fair (i.e., probability of observing heads is 0.5) and the tosses are independent, the probability P (fifthhead fourheads) will be 0.5 because the event of observing a heads is independent of what has been observed so far. A simple application of Bayes rule will reveal the same answer. P (fifthhead fourheads) = P (fourheads fifthhead)p (fifthhead) P (fourheads) Note that the event fourheads is clearly independent of the event fifthhead because it occurs before, which means that P (fourheads fifthhead) = P (fourheads). Hence P (fifthhead fourheads) = P (fifthhead) = 0.5. 9 Gambler s fallacy says (mistakenly) that if an event happens more frequently in the present, then the chances of it happening later will decrease, and vice versa. Consider a different game in which winning means getting at least 1 head in 4 tosses. In the beginning the probability of winning is: ( ) 4 1 1 = 93.75% Now if we toss a tail in the first trial, will my winning probability stay the same or change, and would it increase or decrease? According to the Gambler s Fallacy it should increase. However actually the probability of winning will get revised to: ( ) 3 1 1 = 87.5% So actually by getting a tails in the first toss, we lower our probability of winning by over 6%. Matrix Vector Products Let [3, 4] denote a vector in a D space Multiply with a number? Multiply with a matrix? [ ] 3 4 [ ] [ ] 1 3 3 4 For a matrix, find a vector such that matrix-vector product scalarvector product. For a given matrix A, we are interested in finding a vector x such that: Ax = λx where λ is a scalar. The solution is the set of Eigenvectors. 10