Notebooks from the Seminars:
Introduction to Artificial Intelligence Programming < WS18/19 - WS19/20
Georg Trogemann und Christian Heck
Grundlagenseminar Material/Skulptur/Code
Dienstag wöchentlich 11:00 –13:00
Filzengraben 8 - 10, 0.2 Experimentelle Informatik
Kunsthochschule für Medien Köln
Description
Profound cultural consequences of AI do not only appear with the use of upload filters for algorithmic censorship of undesirable text and image content or the auctioning of AI paintings at Christie's; nor with the formulation of ethical guidelines for dealing with AI or the increased emergence of AI-powered hate speech bots. They begin, quite abstractly and mostly unnoticed in their programming, in semi-public, very formal fields of discourse.
This is exactly where we start experimentally. The seminar provides a very elementary introduction to the subsymbolic AI of neural networks and their programming. The aim of this seminar is to code from scratch, discuss the code together and learn to understand it, in order to learn to assess the possibilities, limits and dangers of this technology for oneself.
We do not adopt the technology of artificial intelligence as a tool in the Homo Faberian sense, but combine programming as an artistic practice with the critical analysis of its social effects.
Info
Seminar Wiki Pages:
Executing the Notebooks:
Setting Up
Basics in Anaconda & Jupyter Notebooks:
Hands on Python
see repository: https://github.com/experimental-informatics/hands-on-python
Artificial Neural Net in Python
many of the Code is based on Tariq Rashid's Book »Neuronale Netze selbst programmieren« < Git Repo
-
Coding a Dense Neural Net in Python from Scratch:
-
Data Preprocessing:
Hands on Keras & Tensorflow
all examples working with MNIST handwritten digit database
most of the Codes are based on Francois Chollet's Book »Deep Learning with Python« < Git Repo
Dense Neural Net
- Coding aArtificial Neural Net (DNN) in Tensorflow & Keras:
Autoencoder
- Simple Autoencoder in Tensorflow & Keras
Convolutional Neural Net
- CNN in Tensorflow & Keras
Generative Adversarial Network
- GAN in Tensorflow & Keras
Interpretable AI
-
Visualize Activations (based on model from CNN-in-Keras.ipynb)
-
Visualize Heatmaps (based on model from CNN-in-Keras.ipynb)
Explainable AI
- LIME for image classification by using Keras (InceptionV3)
Natural Language Processing (NLP)
Text Preprocessing
- for english Textcorpora
- for german Textcorpora
Chatbots
- Basic Encodings & traditional embeddings (ONE-HOT / BOW / TF-IDF)
- Basic Chatbots (TF-IDF)
- Chatbots with Chatterbot
Sentiment Analysis
- Sentiment Analysis for german textcorpora
Word embeddings
- train a Word2vev Modell on your own Texts
RNN/LSTM
- LSTM- Textgeneration
Datasets
- Loading and scraping data from the web