The automated machine learning library described here is built largely on the tools available within the machine learning toolkit available here. The purpose of this framework is to provide users with the ability to automate the process of applying machine learning techniques to real-world problems. In the absence of expert machine learning engineers this handles the following processes within a traditional workflow.
- Data preprocessing
- Feature engineering and feature selection
- Model selection
- Hyperparameter Tuning
- Report generation and model persistence
Each of these steps is outlined in depth within the documentation for this platform here. This allows users to understand the processes by which decisions are being made and the transformations which their data undergo during the production of the output models.
At present the machine learning frameworks supported for this are based on:
- One-to-one feature to target non time-series
- FRESH based feature extraction and model production
The problems which can be solved by this framework will be expanded over time as will the available functionality.
The following requirements cover all those needed to run the libraries in the current build of the toolkit.
- embedPy
- ML-Toolkit
A number of Python dependencies also exist for the running of embedPy functions within both the the machine-learning utilities and FRESH libraries. Install of the requirements can be completed as follows
pip:
pip install -r requirements.txt
or via conda:
conda install --file requirements.txt
The above requirements allow users to access the base functionality provided within AutoML. Additional modules are available - including Sobol sequence hyperparameter search, LaTeX report generation and Keras, PyTorch and NLP models. However, given the large memory requirement for the dependencies of these modules, they are not included in the base functionality and must be installed by the user themself.
Sobol search - via pip (see package details here):
sobol-seq
LaTeX - via conda or pip:
pylatex
Keras - via conda or pip:
keras
tensorflow
PyTorch - via conda or pip:
torch
NLP
The NLP functionality contained within AutoML requires the Kx NLP library along with gensim
which can be installed using conda or pip.
Place the library file in $QHOME
and load into a q instance using automl/automl.q
This will load all the functions contained within the .ml
namespace
$q automl/automl.q
q).automl.loadfile`:init.q
Documentation for all sections of the automated machine learning library are available here.
Automated machine learning in kdb+ is still in development and is available here as a beta release, further functionality and improvements will be made to the library in the coming months.
Any issues with the framework should be raised in the issues section of this repository. Functionality suggestions or more general questions should be submitted via email to [email protected]