Applied Machine Learning – things you need to know

Một số lưu ý khi áp dụng Machine Learning để giải quyết các vấn đề cụ thể: Always use train_test_split or similar GridSearchCV (built-in cross validation) HDF need to be shrunk after write/update –> ptrepack –chunkshape=auto –propindexes –complevel=9 –complib=blosc data_in.h5 data_out.h5 Use Keras optimizer instead of tensorflow itself (so that it can be saved later […]

Read More

Linux Tips

bash (zsh too) tricks from tutorialLinux sudo !!: re-run previous command in sudo prepended ctrl-k ctrl-u ctrl-w ctrl-y cutting/pasting text less +F /  less then shift-f instead of tail ctrl-x-e to continue editting shell in a text editor alt-. to paste previous command’s argument reset to reset/unbork your terminal ctrl-a. ctrl-e to move to the […]

Read More

Hadoop 2.2 Single Node Installation on CentOS 6.5

By far the best tutorial for you to get started with Hadoop installation. Source : http://alanxelsys.com/2014/02/01/hadoop-2-2-single-node-installation-on-centos-6-5/ Introduction This HOWTO covers Hadoop 2.2 installation with CentOS 6.5. My series of tutorials are meant just as that – tutorials. The intent is to allow the user to gain familiarity with the application and should not be construed […]

Read More

Python setup tools easy_install Linux

Let’s not use easy_install anyway: https://packaging.python.org/discussions/pip-vs-easy-install/ https://stackoverflow.com/questions/3220404/why-use-pip-over-easy-install Cai dat easy_install cho linux, unix : I ran into a bit of trouble installing easy_install, after reading many useless articles, this is how I solved the problem,  actually it’s rather simple : Type : wget https://bitbucket.org/pypa/setuptools/downloads/ez_setup.py && python ez_setup.py and you’re done .   Bonus : to […]

Read More