Neptune-Automate
Description
Simplify your machine learning code with this module
Install
To install the module use:
pip install neptune-automate
Application
Clean your data and handle null values:
(1) Import
import pandas as pd
from automate.DataPreprocessor import Null_Value_Remover
(2) Use the function with your data:
data = pd.read_csv('data.csv')
data_clean = Null_Value_Remover.remove_null_value(data, data['Timestamp_or_Categorical Column'])
Apply different machine learning models:
(1) Import
from automate.machine_learning import Machine_Learning_Models
(2) Use the function with your data:
from automate.machine_learning import Machine_Learning_Models
X = ...
y = ...
Machine_Learning_Models.apply_linear_regression(X, y)
Machine_Learning_Models.apply_random_forest_regression(X, y)
Machine_Learning_Models.apply_decision_tree_regression(X, y)
Machine_Learning_Models.apply_support_vector_regression(X, y)
Machine_Learning_Models.apply_GBR(X, y)
Machine_Learning_Models.apply_LGBM(X, y)
Machine_Learning_Models.apply_XGB(X, y)
Machine_Learning_Models.apply_multinomial_nb(X, y)
Machine_Learning_Models.apply_gaussian_nb(X, y)
Use ARIMA, SARIMA, or SARIMAX for time series analysis:
(1) Import
from automate.statistical_models import Statistics_Models
(2) Use the function with your data:
Statistics_Models.apply_ARIMA(data_clean, p, d, q, 'Target_variable')
Statistics_Models.apply_SARIMA(data_clean, p, d, q, 'Target_variable')
Statistics_Models.apply_SARIMAX(data_clean, p, d, q, 'Target_variable', exog_vars=['variable_1', 'variable_2', 'variable_3'])
Perform exponential smoothing for time series forecasting:
(1) Import
from automate.exponential_smoothening import Exponential_Smoothening
(2) Use the function with your data:
Exponential_Smoothening.simple_exponential_smoothening(data_clean['Target_variable '])
Exponential_Smoothening.holt_smoothening(data_clean['Target_variable'])
Exponential_Smoothening.exponential_smoothening(data_clean['Target_variable'])
Augmented Dickey-Fuller Test:
(1) Import
from automate.augmented_dickey_fuller_test import Augmented_Dickey_Fuller_Test
(2) Use the function with your data:
Augmented_Dickey_Fuller_Test.check_stationarity(data_clean['Target_variable'])
Convert your time series data to stationary:
(1) Import
from automate.augmented_dickey_fuller_test import Stationary_Converter
(2) Use the function with your data:
stationary_data = Stationary_Converter.convert_to_stationary(data_clean['Target_variable'])
Augmented_Dickey_Fuller_Test.check_stationarity(stationary_data)
Evaluation Metrics
The function will allow you to print the evaluation metrics based on the problem dataset.
(1) Import
from automate.evaluation.metrics import print_metrics
(2) Use the function with your data:
# Example for regression task
print_metrics(y_test, y_pred)
# Example for classification task
print_metrics(y_true, y_pred)
Note
This module currently only works for Non-Categorical Time Series Data.
Requirements
pandas
numpy
scikit-learn
statsmodels
xgboost
lightgbm
catboost
matplotlib
seaborn
Metadata
Release files for neptune-automate 0.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| neptune-automate-0.0.15.tar.gz | 7.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neptune_automate-0.0.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.2 kB
Release files / neptune-automate-0.0.15.tar.gz
| Download URL | neptune-automate-0.0.15.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d99aff93460db1dd4d5298fb1f115471cdb64d277d4f1ff62c13d63858d1ae1
|
|
BLAKE2b-256 checksum How to use checksums |
ce1f8081225e32d80b45018bf4594ca9faa8cae7920d4125d79a33c35e27946f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.7
|
Release files / neptune_automate-0.0.15-py3-none-any.whl
| Download URL | neptune_automate-0.0.15-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e4251844e6eb3289addc069692adbf9095b72a6fa55e67361b17ab8dd82c1de
|
|
BLAKE2b-256 checksum How to use checksums |
60f82a5185f85314eecddb128b217d0e57fb330a74c18cded4ac8861fbb3454c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.7
|
Security for neptune-automate 0.0.15
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.