Wednesday, February 28, 2018

How Regularization works

Overview


On this article, I'll write about regularization.
Regularization is important method to prevent from overfitting and used in many algorithms. If I try to write accurately in good manner, it will be so long article. So here, I don’t stick to mathematical accuracy so much and in rough way I’ll try to show the system.

As a different approach to overfitting, Dropout is also nice. About this, please check the article below.

Tuesday, February 20, 2018

Simple Bayesian Modeling on Edward by Hamiltonian Monte Carlo

Overview

On this article, I'll re-write by Edward the simple bayesian model that was written on Stan.
This time, my target is from the following article.
Actually, I already wrote the article, Simple regression by Edward: variational inference. There, I re-wrote the model on Edward. But at that time, I used variational bayesian method for inference.
Stan uses Hamiltonian Monte Carlo. So, this time, I'll use Hamiltonian Monte Carlo on Edward and re-write the model.

Monday, February 19, 2018

Bayesian prediction interval from pystan output

On this article, I’ll leave the simple memo to get bayesian prediction interval from the sampled points of PyStan output and visualize it.
Basically, I’ll use the code from the article, Simple Bayesian modeling by Stan.


Sunday, February 11, 2018

Nice video for time series data analysis on Python

These days, I have watched some videos about time series analysis. I'll write here about one of my recommendations.
Roughly, the video is about time series data manipulation on Python, to say more concretely, on Pandas.



On this video, you can know
  • how to deal with time stamp data type
  • simple time series data processing
Those are fundamental and necessary knowledges to deal with time series data on Python. This video lets us know those manipulation on Pandas.
If you are new to time series analysis on Python, you can get the knowledge about basic manipulation by this video.

Friday, February 9, 2018

Slack bot for image stylization by magenta

Overview

With magenta and Slack’s Bots application, I made an image style change bot.
This works as following gif.

enter image description here

When we post the image to the bot, it adds the style to the image and posts the images to the slack channel.