Skip to content

jhanna-kx/ml_notebook_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning Demonstrations

This repository contains notebooks that illistrate different machine learning algorithms using embedPy.

  1. Neural networks (NN notebook)
  2. Dimensionality Reduction
  3. K-nearest Neighbours
  4. Feature Engineering (NN notebook)
  5. Decision Trees
  6. Random Forests

Docker

If you have Docker installed you can create a directory called q and place your kc.lic (or k4.lic) and l64.zip files into a q directory and run:

    docker run --rm -it -v `pwd`/q:/tmp/q -p 8888:8888 kxsys/ml_notebook_examples

Now point your browser at http://localhost:8888/tree/notebooks

N.B. build instructions for the image are available

Installation

These are the steps that are required to run the notebooks:

  1. Install Q (version 3.5 or higher/64-bit)

  2. Install Anaconda-Python(version 3.5 or higher)

Steps 3 and 4 are only required to run Neural Network Notebooks

  1. Install Cuda (version 9.0)

  2. Install tensorflow

  3. Install embedPy

  4. Install jupyterq

  5. Install required python packages

    • Common modules in Graphics.q

      • numpy
      • matplotlib
    • Neural Networks:

      • Keras
      • scikit-learn
    • Dimensionality reduction:

      • numpy
      • matplotlib
      • Keras
      • scikit-learn
    • K-Nearest Neighbours:

      • scikit-learn
      • numpy
      • matplotlib
    • Feature Engineering:

      • scikit-learn
      • Keras
      • numpy
      • matplotlib
    • Decision trees:

      • numpy
      • scipy
      • graphviz
      • matplotlib
      • scikit_learn
      • xgboost
    • Random Forest:

      • numpy
      • pandas
      • scikit_learn
      • xgboost

    To install these packages run this line in the terminal:

     pip install -r requirements.txt

About

Machine learning examples in Jupyter Notebooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published