Coder Social home page Coder Social logo

trellixvulnteam / mlearnpy2_fqe1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tommybutler/mlearnpy2

0.0 0.0 0.0 854.15 MB

License: The Unlicense

Shell 0.01% JavaScript 2.73% C++ 44.57% Python 50.29% Perl 0.01% C 1.31% Java 0.01% Fortran 0.01% R 0.07% Assembly 0.01% MATLAB 0.01% XSLT 0.05% CSS 0.05% TeX 0.42% Cuda 0.12% Makefile 0.01% HTML 0.36% Smarty 0.01% CMake 0.01% Batchfile 0.01%

mlearnpy2_fqe1's Introduction

mlearnpy2

CentOS 7 / RHEL 7 machine learning setup with Python 2.7

GPU support is not included, as this setup is tailored to a headless VM/bare metal server setup.

Prerequisites

  1. CentOS 7.4 x89_64 (previous versions of 7.x might work as long as they're x86_64)
  2. Decent amount of Linux devops expertise, because this comes with nearly no documentation and a lot of precursory knowledge is assumed...

This repository of utilities does not come with an installer. It is also assumed you will know how to copy these files, where to put them, and how to use them--simply based on how they are named. DO NOT blindly copy these over existing files. If you don't know what you're doing, get help from a friend who does.

Setup

  1. clone this repo somewhere on your target Linux host (/var/tmp?)
  2. add this to end of your .bashrc file
# Python VirtualEnvWrapper
if [[ "`which virtualenvwrapper.sh`" != '' ]]
then
   export WORKON_HOME=~/mypy
   source "`which virtualenvwrapper.sh`"
   workon mypy
fi
  1. execute the ./reassemble.sh bash script from within the top level of the repo source tree
  2. copy the home-tommy-mypy/ directory to your homedir and rename it to "mypy"
  3. configure virtualenvwrapper to use the mypy python installation (step 2)
  4. make a symlink called /home/tommy and point it at your homedir (sorry, but that's how the custom python was compiled in this case)
  5. copy files from usr--bin.tar.xz to your /usr/bin directory (when in doubt, don't overwrite pre-existing files!)
  6. copy files from usr--lib--python2.7--site-packages.tar.xz to /usr/lib/python2.7/site-packages (when in doubt, don't overwrite!)
  7. carefully install the rpm packages, taking great care not to break your system.
  8. leave the other *.sh files alone. They're to assist me in rolling up a new release โ€” not for you ;-)

Freezing (saving) your models...

...Requires the h5 RPMs and their dependencies to be installed. That list of rpm packages is found in the rpms subdirectory at the top of this repository's file tree. yum install these packages, and see https://keras.io/getting-started/faq/#how-can-i-save-a-keras-model for further details on saving your models.

Packages included, listed in no particular order

  • cython
  • gensim
  • h5py, h5py-wrapper, h5json, h5config, h5browse, h5df
  • keras
  • jupyter notebook (terminal disabled)
  • lasagne
  • matplotlib
  • networkx
  • nolearn
  • numpy
  • pandas
  • pandas2sklearn
  • pandas-transformers
  • plotly
  • prophet (fbprophet)
  • pylds
  • pymc
  • pystan
  • pytorch
  • pytz
  • scikit-learn (sklearn)
  • scipy
  • seaborn
  • six
  • skflow
  • sklearn-compiledtrees
  • sklearn-contrib-lightning
  • sklearn-deap
  • sklearn-evaluation
  • sklearn-pandas
  • spark-sklearn
  • spyder IDE (use X-forwarding over ssh)
  • statsmodels
  • tensorflow
  • theano
  • virtualenvwrapper
  • pyodbc (requires unixODBC package (.rpm) to be installed)
  • nltk
  • leven
  • python-levenshtein ...and all their dependencies

pip freeze output

(see contents of pip-freeze text file at the root of the code tree)

mlearnpy2_fqe1's People

Contributors

tommybutler avatar trellixvulnteam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.