The First Cry of Atom Today is the first day of the rest of my life.

exec format error in Docker container

You may see such error when you launched your docker container. $ docker run lewuathe/test standard_init_linux.go:187: exec user process caused "exec format error" My Dockerfile is this. FROM ubuntu ADD test.sh /tmp WORKDIR /tmp ENTRYPOINT ["./test.sh"] The shell script of entry point is here. #!/bin/bash echo "This is a script" Umm... Read more

Create disk image of macOS

I had several times to install Linux (Ubuntu) on my laptop. The other day, I tried to install Ubuntu on my Mac Book because that’s the only free laptop I had. But I failed to create proper partition in that internal SSD and deleted macOS accidentally. So I had to re-install macOS from nothing. That means I cannot obtain even the help of recover... Read more

t-SNE on Tensorflow

t-SNE is a state of the art algorithm for dimentionality reduction. This algorithm is used for mainly pre-processing of machine learning. You may know PCA as similar algorithm. Though both techniques are useful for capturing the specific feature of the data set space, t-SNE is more powerful even with huge dimensional datasets. In this post, I w... Read more

Mandelbrot in Tensorflow

I found a interesting example in Tensorflow tutorials. Tensorflow is famous as a deep learning framework. We can write various kind of deep learning algorithms in Tensorflow efficiently. But it is also sufficiently general machine learning and numerical computation library. We can write any kind of computation like K-means. Tensorflow community... Read more

VC dimension and predictive loss

How can we estimate the loss of a machine learning model based on its complexity? We know that complex model can explain various kinds of data set space but it can overfit to the sample space. We want to optimize the loss in whole data space instead of sample space. It means that we need to know the balance between model complexity and the poss... Read more