Size: 4014
Comment:
|
Size: 4126
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
== Python Programmierung für Maschinelles Lernen und Datenanalyse == | '''Contents''' <<TableOfContents(4)>> |
Line 3: | Line 4: |
|| '''Termin:''' || Blockveranstaltung Di, 02.04. bis Do, 04.04.2013 jeweils 10:00-17:00 Uhr || || '''Prüfung:''' || Prüfung Fr, 12.04. 10:00 - 11:30 Uhr || || '''Raum:''' || MAR 6.xxx || || '''Dozent:''' || Daniel Bartz (daniel.bartz@tu-berlin.de, Raum MAR 4.034) || |
== Python Programming for Machine Learning == |
Line 8: | Line 6: |
Das Ziel dieses Kurses ist es, Grundlagen des wissenschaftlichen Programmierens in Python zu vermitteln. Insbesondere behandelt der Kurs effiziente Implementierung typischer Berechnungen und den Umgang mit den Paketen | || '''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 |
Line 12: | Line 21: |
Beispiele beziehen sich auf Anwendungen im Maschinellen Lernen. | Examples relate to Machine Learning Applications. |
Line 14: | Line 23: |
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]] | |
Line 15: | Line 25: |
Grundlegende Kenntnisse in einer andere Programmiersprache werden vorausgesetzt. Das bedeutet, Konzepte wie * Variablen und Datentypen; * Kontrollstrukturen (if, for, while, switch); * Definition und Aufruf eigener Funktionen; * Debugging; und der * Umgang mit der (UNIX) Kommandozeile sollten geläufig sein. Eigenständiges Erarbeiten programmiersprachen-spezifischer Funktionalität anhand der Dokumentation wird vorausgesetzt. Da die Dokumentation von Python und der Pakete auf Englisch ist, werden außerdem ausreichende Englischkenntnisse benötigt. |
Homework is submitted via [[https://www.isis.tu-berlin.de/course/view.php?id=7876|ISIS]]. |
Line 23: | Line 27: |
=== TUBIT-Account === | |
Line 24: | Line 29: |
Wir freuen uns über Teilnehmer aller Fachrichtungen. Um Enttäuschungen bzgl. der Zeitaufwands und/oder der Note zu vermeiden möchte ich aber darauf hinweisen, dass dieser Kurs im Rahmen des Masterstudiengangs Informatik angeboten wird. Wer wenig Programmiererfahrung oder geringe Kenntnisse der Matrixrechnung hat, wird daher einen erheblich erhöhten Zeitaufwand einplanen müssen. | 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]]. |
Line 26: | Line 32: |
Die Abgabe der Hausaufgaben erfolgt via [[https://www.isis.tu-berlin.de/course/view.php?id=7876|ISIS]]. | === Python on your own computer === |
Line 28: | Line 34: |
'''Für die Nutzung von Matlab auf unseren Rechnern wird ein TUBIT-Account benötigt.''' Falls ihr noch keinen Account habt, schreibt mir bitte eine e-mail an daniel.bartz@tu-berlin.de mit vollständigem Namen (so wie er auf dem Ausweis steht) und Geburtsdatum. Wir generieren dann ein PDF, mit dem der TUBIT-Account an der [[http://www.tubit.tu-berlin.de/menue/hilfe_beratung/glossar/k/kartenausgabestelle_kas/|Kartenausgabestelle]] abgeholt werden kann. |
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 |
Line 32: | Line 44: |
=== 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) |
|
Line 33: | Line 50: |
=== Ablauf === | 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 |
Line 35: | Line 54: |
Es besteht keine Anwesenheitspflicht. Der ungefähre Ablauf ist wie folgt: | Machine Learning: * We will deal with Sebastian Seung's [[http://athos.rutgers.edu/~mlittman/topics/dimred02/seung-nonneg-matrix.pdf|non-negative matrix factorization]] |
Line 37: | Line 57: |
|| 10:00 – 11:00 Uhr || Einführung und Demonstration (zum Mittippen) || || 11:00 – 13:00 Uhr || Gemeinsame Bearbeitung der Übungsaufgaben || || 14:30 Uhr || Ausgabe und ggf. Besprechung der Musterlösungen || || 14:30 – 17:00 Uhr || Bearbeitung der Hausaufgaben || Abgabeschluss für die Hausaufgaben ist 10:00 Uhr am folgenden Tag. Wir werden folgende Themen behandeln: * Dienstag: Grundlagen Matlab, Lineare Algebra * Mittwoch: Grafik, Zufallszahlen * Donnerstag: Mehr Grafik, Datenimport, Umgang mit Strings |
A good [[http://www.python.org/dev/peps/pep-0008/#introduction|programming style]] never hurts. |
Line 51: | Line 61: |
Der Kurs ist Wahlpflichtbestandteil des Moduls Maschinelles Lernen I (M.Sc. Informatik). (Das Master-Modul "Maschinelles Lernen 1" wird im Wintersemester angeboten und lässt sich auf Antrag in den Bachelor Informatik einbringen). | Der Kurs ist Wahlpflichtbestandteil des Moduls Kognitive Algorithmen (B.Sc. Informatik). |
Line 53: | Line 63: |
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. Matlab 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. | 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. |
Contents
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
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 beginner's course
Homework is submitted via 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 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
Machine Learning:
We will deal with Sebastian Seung's non-negative matrix factorization
A good 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.