Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maddosaurus/mlt
The Machine Learning Toolkit
https://github.com/maddosaurus/mlt
anomaly-detection framework keras machine-learning neural-network pyod python3 scikit-learn tensorflow
Last synced: about 22 hours ago
JSON representation
The Machine Learning Toolkit
- Host: GitHub
- URL: https://github.com/maddosaurus/mlt
- Owner: Maddosaurus
- License: apache-2.0
- Created: 2019-01-03T19:08:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T06:15:30.000Z (almost 2 years ago)
- Last Synced: 2024-04-21T19:56:32.579Z (7 months ago)
- Topics: anomaly-detection, framework, keras, machine-learning, neural-network, pyod, python3, scikit-learn, tensorflow
- Language: Python
- Homepage: https://mlt.readthedocs.io/
- Size: 166 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The MachineLearning Testbench
This piece of software prepares different datasets and ML algorithms as well as implementations and saves the qualitative benchmark results.
It emerged as part of a CompSci Masters' Thesis at the University of Applied Sciences and Arts Dortmund.**It is currently in a state of prerelease and still subject to changes!**
**A stable release can be expected around 03/2019**## Getting Started
Have a look at the [Getting Started](https://mlt.readthedocs.io/en/latest/gettingstarted.html) section in the documentation for a detailed guide.
Here is a minimal working example to check your installation:
```bash
git clone https://github.com/Maddosaurus/MLT
cd MLT
pipenv install
cd MLT/datasets
git clone https://github.com/defcom17/NSL_KDD NSL_KDD
cd ..
python run.py --pnsl
python run.py --single --nsl --xgb 10 10 0.1
```
Upon completion, you should be able to find infos for the test run in your console as well as in the subfolder `results`.## Requirements
- Python 3.6+
- CUDA 9.1 (optional)
- tensorflow-gpu (optional)If you plan on using GPU-accelerated learning (strongly recommended), please set up CUDA 9.1 on your system. The current version of Tensorflow relies on CUDA 9.1 (not 10!). Please refer to the [Tensorflow Install How To](https://www.tensorflow.org/install/gpu) for up to date install instructions!
If you are interested in using the GPU-accelerated deep learning potion, make sure to replace `tensorflow` with `tensorflow-gpu` in your installation.
The use of a virtual environment is strongly advised!
All package requirements can be installed via `pipenv install` (add `--dev` for development dependencies).Besides these, you will need copies of the *NSL-KDD* and *CICIDS2017* datasets stored in the subfolder `datasets` (`/NSL_KDD` and `/CICIDS2017pub`). The CICIDS2017 dataset can be downloaded at the [University of New Brunswick](http://www.unb.ca/cic/datasets/index.html), while NSL-KDD can be obtained [on GitHub](https://github.com/defcom17/NSL_KDD). Additional datasets can be included analogous to these.
## Documentation
The current documentation can be found at [readthedocs.io](https://mlt.readthedocs.io/en/latest/).
If you're intersted in manually building the API documentation, run `make html` in the `docroot` folder. This command will generate the full sphinx-doc for the project.
You can view a local copy of the docs by running `cd docroot/_build/html && python -m http.server` from the project root.## Workflow
The general workflow is:
1. Dataset Preparation (sanitize and pickle)
2. Algorithm definition
3. Feature Selection, optional CV spits and Normalization/Scaling
4. Algorithm Training
5. Result Collection and Evaluation