'''Contents''' <> == Python Programming for Machine Learning == || '''Dates:''' || Tuesday to Thursday, 02.04-04.04.2013 (block course) || || '''Times:''' || 10:00-17:00 on each day || || '''Exam:''' || Friday, 12.04. 10:00 - 11:30 Uhr || || '''Raum:''' || MAR 6.001 || || '''Contact:''' || Daniel Bartz (daniel.bartz@tu-berlin.de, room MAR 4.034) || || '''language:''' || English || [[http://www.python.org/|Python]] has become a standard language for prototyping and plotting results in the machine learning community. Goal of this course is a basic understanding of python programming for machine learning and data analysis. We want to enable students to quickly load a data set, implement an algorithm, run analyses and plot the results. We will therefore focus on efficient calculations and visualization. For this, we make use of the packages * numpy * matplotlib * scipy Examples relate to Machine Learning Applications. Knowledge of elementary programming concepts will be helpful. Be aware that lack of such knowledge will increase the time demand of the class. In that case, you should consider to prepare with a [[https://www.udacity.com/course/cs101|beginner's course]] Homework is submitted via [[https://www.isis.tu-berlin.de/course/view.php?id=7876|ISIS]]. === TUBIT-Account === A TUBIT-Account is needed for the login on our computers and access to ISIS! If you do not have such an account, write an e-mail to daniel.bartz@tu-berlin.de containing your full name (as on your ID!) and date of birth. We then generate a PDF, with which you receive a TUBIT-Account at the [[http://www.tubit.tu-berlin.de/menue/hilfe_beratung/glossar/k/kartenausgabestelle_kas/|Kartenausgabestelle]]. === Python on your own computer === If you want to use your own machine, make sure that you have installed * Python 2.6 or 2.7 * numpy, matplotlib and scipy * Ipython You should test to start Ipython from the shell with "Ipython --pylab" (Do not ask me about MS Windows!) and within Ipython * import numpy * import matplotlib * import pylab * import scipy === Supplemental Material === Many free Python tutorials and lectures are available in the internet. Here is a small subset: * http://scipy-lectures.github.com/index.html - good and detailed tutorial on scientific programming in python * https://www.udacity.com/course/cs101 - very basic, very motivating programming course (no focus on scientific programming) * https://www.udacity.com/course/cs212 - advanced programming course (no focus on scientific programming) IPython: * http://ipython.org/ipython-doc/dev/interactive/tutorial.html - tutorial on IPython * http://cnswww.cns.cwru.edu/php/chet/readline/rluserman.html - keyboard shortcuts for the IPython Shell Plotting: * http://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html#d-plots-in-3d - 3D plots with matplotlib Machine Learning: * We will deal with Sebastian Seung's [[http://athos.rutgers.edu/~mlittman/topics/dimred02/seung-nonneg-matrix.pdf|non-negative matrix factorization]] A good [[http://www.python.org/dev/peps/pep-0008/#introduction|programming style]] never hurts. === Anrechenbarkeit === Der Kurs ist Wahlpflichtbestandteil des Moduls Kognitive Algorithmen (B.Sc. Informatik). Eine Anmeldung für den Kurs ist nicht erforderlich, Studenten aller Fachrichtungen und Universitäten sind willkommen. Grundlage für den benoteten Leistungsnachweis (2 SWS bzw. 3 LP) ist die Klausur (90 Minuten), auf Wunsch stellen wir bei bestandener Klausur auch einen unbenoteten Leistungsnachweis aus. Python und sämtliche Aufzeichnungen dürfen in der Klausur verwendet werden. Voraussetzung für die Teilnahme an der Klausur ist das Erreichen von mindestens der Hälfte aller möglichen Punkte in den Hausaufgaben, die Ergebnisse in den Übungsaufgaben gehen nicht in die Note ein. Die Hausaufgaben sind nicht als Gruppenarbeit anzufertigen. TU Studenten, die den Kurs als als freie Wahl in ihr Studium einbringen möchten, müssen in der Regel die Modulprüfung bei ihrem Prüfungsamt anmelden, ansonsten kann es bei der Anrechnung beim Prüfungsamt später Probleme geben.