Difference between revisions of "Machine Learning"

From Lingoport Wiki
Jump to: navigation, search
m (Installation)
(Installation)
Line 11: Line 11:
   
 
3. Go to this link http://h2o-release.s3.amazonaws.com/h2o/rel-wheeler/4/index.html and make sure you navigate to the "INSTALL IN PYTHON" tab as shown below.
 
3. Go to this link http://h2o-release.s3.amazonaws.com/h2o/rel-wheeler/4/index.html and make sure you navigate to the "INSTALL IN PYTHON" tab as shown below.
  +
Install dependencies (prepending with `sudo` if needed):
 
  +
pip install requests
Install dependencies (prepending with `sudo` if needed):
 
  +
pip install tabulate
 
pip install requests
+
pip install scikit-learn
  +
pip install colorama
 
pip install tabulate
+
pip install future
 
pip install scikit-learn
 
 
pip install colorama
 
 
pip install future
 
   
 
At the command line, copy and paste these commands one line at a time:
 
At the command line, copy and paste these commands one line at a time:
   
pip uninstall h2o
+
pip uninstall h2o
  +
pip install http://h2o-release.s3.amazonaws.com/h2o/rel-wheeler/4/Python/h2o-3.16.0.4-py2.py3-none-any.whl
 
pip install http://h2o-release.s3.amazonaws.com/h2o/rel-wheeler/4/Python/h2o-3.16.0.4-py2.py3-none-any.whl
 
   
 
Success if response messages have "Successfully installed h2o-3.16.0.4"
 
Success if response messages have "Successfully installed h2o-3.16.0.4"
Line 36: Line 29:
 
Test2: On the command line, go into python. In python:
 
Test2: On the command line, go into python. In python:
   
> import h2o
+
> import h2o
  +
> h2o.init()
 
> h2o.init()
 
   
 
This should complete without errors.
 
This should complete without errors.

Revision as of 21:05, 7 March 2018

Machine Learning Overview

Machine Learning prediction is a Globalyzer workbench and Globalyzer Lite feature that help users to handle false positive issues. We suggested to apply the machine learning training results on Rule Sets results as a follow-up step to determine that those detected issues are indeed i18n issues.

Installation

Prerequisite: Python 3.6.x and H2O.ai 3.x

1. Download Python version 3.6+ from website https://www.python.org/downloads/

2. Install python and add python to PATH environment variable

3. Go to this link http://h2o-release.s3.amazonaws.com/h2o/rel-wheeler/4/index.html and make sure you navigate to the "INSTALL IN PYTHON" tab as shown below.

 Install dependencies (prepending with `sudo` if needed):
 pip install requests
 pip install tabulate
 pip install scikit-learn
 pip install colorama
 pip install future

At the command line, copy and paste these commands one line at a time:

 pip uninstall h2o
 pip install http://h2o-release.s3.amazonaws.com/h2o/rel-wheeler/4/Python/h2o-3.16.0.4-py2.py3-none-any.whl

Success if response messages have "Successfully installed h2o-3.16.0.4"

Test1: Open System Command and type in "python -V", success if reply python version like "Python 3.6.2"

Test2: On the command line, go into python. In python:

> import h2o
> h2o.init()

This should complete without errors.