Skip to content

Simple examples for applied machine learning an dialog systems

Notifications You must be signed in to change notification settings

mischka1981/MachineLearning101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MachineLearning101

(Google Text-to-Speech and Speech-to-Text) Dialog / interview system (interview.py)

All text snippets in german. The computer asks a number of questions through audio playback and the user answers with his voice. In the end, the computer plays a summary of what it understood.

(tensorflow, keras) Iris classification with Neural Network, gradient descent: tf_nn_iris.py

Should be more or less the classic backpropagation approach (tf_nn_iris.py). This is heavily inspired from the example found on the Tensorflow site, but is extended with the adaption of the learning rate (coupled to network error), allowing for a significant reduction in neurons!

(sklearn) Iris classification with SVM: sklearn_iris_svm.py

sklearn_iris_svm.py is an easy example for demonstrating how to use a SVM (Support Vector Machine) with python.

As of today, sklearns SVM is a wrapper for LibSVM. LibSVM is a binary tool with a nice command line interface (https://www.csie.ntu.edu.tw/~cjlin/libsvm/).

The iris data is the famous Fisher dataset: https://en.wikipedia.org/wiki/Iris_flower_data_set

Natively, vanilly SVMs only support binary classification. LibSVM however implements a Multiclass extension using modified equations. So LibSVMs Multiclass approach implements a logic that may not be the optimal strategy for your multiclass problem. Do you train one binary classifier per class? For each class, different features maybe decisive. Take into account classifying emails into folders: Some folders or tags are about persons, some about years, some about topics, some about importance... https://en.wikipedia.org/wiki/Ensemble_learning

Requirements: python 3 pip install sklearn

Releases

No releases published

Packages

No packages published

Languages