[PYTHON] I installed the automatic machine learning library auto-sklearn on centos7

What is machine learning automation?

Machine learning can also be a buzzword, and it seems to be very effective for performing various data analysis, Even if you use the library when you try to implement it, you will have to make "various adjustments", so the threshold is very high. Therefore, the automation of machine learning is to let the machine do the "various adjustments".

What is auto-sklearn?

A convenient library that automatically selects models for machine learning. The machine learning model used here is an implementation of scikit-learn. The papers correspond to the following.

Install auto-sklearn

Actually install it on centos7. The basic procedure is described in HP of the head family (English) and is as follows.

curl https://raw.githubusercontent.com/automl/auto-sklearn/master/requirements.txt | xargs -n 1 -L 1 pip install
pip install auto-sklearn

However, in order to operate the above in Seijo, some environment preparation is required, so it is summarized below. Also, at present (at least when installing from the master branch), it seems that puthon 2 is not supported due to the dependency library, so prepare the python 3 environment at the same time.

Outline of work contents

--Install python version control tool pyenv to make python 2 and python 3 coexist --Install python 3 --Preparing the python 3 environment --Install the required libraries for auto-sklearn --Install auto-sklearn

yum -y install git zlib-devel bzip2 bzip2-devel openssl openssl-devel readline readline-devel sqlite sqlite-devel 

git clone https://github.com/yyuu/pyenv.git ~/.pyenv
vi ~/.bash_profile
# export PYENV_ROOT="$HOME/.pyenv"(.bash_Add to profile)
# export PATH="$PYENV_ROOT/bin:$PATH"(.bash_Add to profile)
# eval "$(pyenv init -)"(.bash_Add to profile)
source .bash_profile

pyenv install 3.6.0
yum -y install atlas-sse3 atlas-sse2 atlas-devel atlas lapack-devel lapack-static lapack
pip3 install numpy six cython scipy matplotlib

pip install -r https://raw.githubusercontent.com/automl/autosklearn/master/requirements.txt
pip3 install auto-sklearn

Operation check

Let's execute the example program of HP of the head family (English) as it is. It seems that the calculation will take some time. Even so, the installation was completed and I was able to confirm that it works!

from now on

It is unknown how much auto-sklearn can be used, so I will try to actually move it and experience it.

Recommended Posts

I installed the automatic machine learning library auto-sklearn on centos7
Install the machine learning library TensorFlow on fedora23
I installed and used the Deep Learning library Chainer
[Linux] I installed CentOS on VirtualBox
I installed Python 3.5.1 to study machine learning
I tried to visualize the model with the low-code machine learning library "PyCaret"
Looking back on the machine learning competition that I worked on for the first time
Machine learning library dlib
Machine learning library Shogun
Pip the machine learning library from one end (Ubuntu)
I tried to compress the image using machine learning
Survey on the use of machine learning in real services
I installed ROS on Ubuntu 18.04
I tried the changefinder library!
[Machine learning] I tried to summarize the theory of Adaboost
I implemented Extreme learning machine
A story stuck with the installation of the machine learning library JAX
I installed Taiga.IO on CentOS7 (I made a script while I was there)
[Machine learning] I will explain while trying the deep learning framework Chainer.
Remove ubuntu installed on Windows 10 machine
I installed the IoT platform "Rimotte"
I tried machine learning with liblinear
<For beginners> python library <For machine learning>
Determine if the library is installed.
Introduction to Machine Learning Library SHOGUN
I installed Linux on my Mac
I tried to understand the learning function in the neural network carefully without using the machine learning library (second half).
I tried calling the prediction API of the machine learning model from WordPress
[Updated Ver1.3.1] I made a data preprocessing library DataLiner for machine learning.
One-click data prediction for the field realized by fully automatic machine learning
I tried using the trained model VGG16 of the deep learning library Keras
I tried with the top 100 PyPI packages> I tried to graph the packages installed on Python
I installed the library with Visual Studio Code, but Unable to import
Notify Slack when the machine learning process running on GCP is finished
I tried to understand the learning function of neural networks carefully without using a machine learning library (first half).
I'm an amateur on the 14th day of python, but I want to try machine learning with scikit-learn
Notes on PyQ machine learning python grammar
[Super rudimentary] I installed GDAL on Anaconda
Record the steps to understand machine learning
I stumbled on the Hatena Keyword API
Notes on running Azure Machine Learning locally
I installed TensorFlow (GPU version) on Ubuntu
I installed Kivy on a Mac environment
Machine learning with Pytorch on Google Colab
[Machine learning] What is the LP norm?
I installed OpenCV-Python on my Raspberry Pi
I tried to organize the evaluation indexes used in machine learning (regression model)
I installed Pygame with Python 3.5.1 in the environment of pyenv on OS X
I tried to predict the presence or absence of snow by machine learning.
I tried to predict the change in snowfall for 2 years by machine learning
I tried to process and transform the image and expand the data for machine learning
Automatically stop the VM when the machine learning process running on GCP is finished
I couldn't escape from the futon, so I made a fully automatic futon peeling machine.
GTUG Girls + PyLadiesTokyo Meetup I went to machine learning for the first time