Denoise with Auto Encoder of H2O in Python for MNIST

We talked about auto-encoder here and here with R (https://charleshsliao.wordpress.com/2017/04/14/identify-arguments-of-h2o-deep-learning-model-with-tuned-auto-encoder-in-r-with-mnist/). We also talked about the three functions of auto encoder above. This is a pretty standard example used for benchmarking anomaly detection models. We use Python3 and H2O framework to build auto-encoder. More details can be found in Sebastian Raschka's book: https://www.goodreads.com/book/show/25545994-python-machine-learning?ac=1&from_search=true

Advertisements

How Certain is This Classifier? Uncertainty Estimates in Python

We are not only interested in which class a classifier predicts for a certain test point, but also how certain it is that this is the right class.There are two different functions revealing the certainty of the classifier. We use the data from sklearn library, and the IDE is sublime text3. Most of the code… Continue reading How Certain is This Classifier? Uncertainty Estimates in Python

Multi Layer Perceptrons in Python

You can see more about MLP in R here: https://charleshsliao.wordpress.com/2017/04/10/tune-multi-layer-perceptron-mlp-in-r-with-mnist/ Generally speaking, a deep learning model means a neural network model with more than just one hidden layer. Whether a deep learning model would be successful depends largely on the parameters tuned. We use the data from sklearn library, and the IDE is sublime text3.… Continue reading Multi Layer Perceptrons in Python

Logistic Regression in Python to Tune Parameter C

The trade-off parameter of logistic regression that determines the strength of the regularization is called C, and higher values of C correspond to less regularization (where we can specify the regularization function).C is actually the Inverse of regularization strength(lambda) We use the data from sklearn library, and the IDE is sublime text3. Most of the… Continue reading Logistic Regression in Python to Tune Parameter C

Quick KNN Examples in Python

Walked through two basic knn models in python to be more familiar with modeling and machine learning in python, using sublime text 3 as IDE. The first example of knn in python takes advantage of the iris data from sklearn lib. The second example takes data of breast cancer from sklearn lib. We evaluate the… Continue reading Quick KNN Examples in Python