Highlander project
Project description
Highlander Project
This repository contains all the information for the Machine learning data analyses used in the Highlander project
Dependencies
The following dependencies are required to perform the analysis in Python:
pandas>=1.3.4
numpy>=1.21.2
scikit-learn>=1.0
h2o>=3.38.0.1
The main functions are grouped into two files:
RFE_module.py
H2O_module.py
Modules and functions
Two modules required to perform the analyses are located in the highlander_script/ directory. The RFE_module.py perform a Recursive Feature Elimination reducing the input variables. The user can define the number of features to maintain. The discarded features are the most uninformative and redundant in the dataset. Consequently, this step can reduce the variables, allowing a more precise and quick analysis using the Machine Learning algorithms. It can be considered a feature selection prior to analyze the data. The H2O_module.py contains several functions to perform the Machine Learning analyses. In detail:
- It searches for the best algorithm to perform the prediction; the best algorithm is chosen using a set of different models
- Once the best model is selected, the best hyper-parameters are tuned using a grid search approach
- The model is then trained and tested, and the accuracy is evaluated using the Mean Absolute Error metric
- The relative importance of all the variables in the prediction is then evaluated
- The subset of the most important variables is identified. This step an be considered a feature selection after the data analysis
- The SHAP algorithm is then used to evaluate the contribution and the explanation of each feature to the classification
Tutorial
The whole pipeline to perform and end-to-end data analysis is reported in the file inseire_nome_qui.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file HighlanderML-1.0.1.1.4.tar.gz.
File metadata
- Download URL: HighlanderML-1.0.1.1.4.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d78bf2cae24bc958601db3ed7fc954bc0a95d3f2de9e35cb11e8e57b5bee338
|
|
| MD5 |
ca69bf07d2945e38a110b207b331dcf9
|
|
| BLAKE2b-256 |
3af6a27776b57bd5f5d1a33db38f1dcac62d404fe238a898f6b6466b6beb81d5
|
File details
Details for the file HighlanderML-1.0.1.1.4-py3-none-any.whl.
File metadata
- Download URL: HighlanderML-1.0.1.1.4-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caa290f068598039d6a311dedd4a4cd9825c491287e8e989dd4d67253786b61d
|
|
| MD5 |
d928a7f9e51f23b786941d9919010d87
|
|
| BLAKE2b-256 |
2c93d4b5831d3923efb1bcca7e5b7795fb652ae4d532ddf252f8d59b2019c397
|