Automated ML by d4rk-lucif3r
Project description
LuciferML a Semi-Automated Machine Learning Library by d4rk-lucif3r
About
The LuciferML is a Semi-Automated Machine Learning Python Library that works with tabular data. It is designed to save time while doing data analysis. It will help you right from data preprocessing to Data Prediction.
The LuciferML will help you with
- Preprocessing Data:
- Encoding
- Splitting
- Scaling
- Dimensionality Reduction
- Resampling
- Trying many different machine learning models with hyperparameter tuning,
Installation
pip install lucifer-ml
Available Preprocessing Techniques
-
Skewness Correction
Takes Pandas Dataframe as input. Transforms each column in dataset except the columns given as an optional parameter. Returns Transformed Data.
Example:
-
All Columns:
from luciferml.preprocessing import Preprocess as prep import pandas as pd dataset = pd.read_csv('/examples/Social_Network_Ads.csv') dataset = prep.skewcorrect(dataset)
-
Except column/columns:
from luciferml.preprocessing import Preprocess as prep import pandas as pd dataset = pd.read_csv('/examples/Social_Network_Ads.csv') dataset = prep.skewcorrect(dataset,except_columns=['Purchased'])
More about Preprocessing here
-
Available Modelling Techniques
-
Classification
Available Models for Classification
- 'lr' : 'Logistic Regression', - 'svm': 'Support Vector Machine', - 'knn': 'K-Nearest Neighbours', - 'dt' : 'Decision Trees', - 'nb' : 'Naive Bayes', - 'rfc': 'Random Forest Classifier', - 'xgb': 'XGBoost Classifier', - 'ann' : 'Artificial Neural Network',
Example:
from luciferml.supervised.classification import Classification dataset = pd.read_csv('Social_Network_Ads.csv') X = dataset.iloc[:, :-1] y = dataset.iloc[:, -1] classifier = Classification(predictor = 'lr') classifier.fit(X, y) result = classifier.result()
More About Classification
-
Regression
Available Models for Regression - 'lin' : 'Linear Regression', - 'sgd' : 'Stochastic Gradient Descent Regressor', - 'elas': 'Elastic Net Regressot', - 'krr' : 'Kernel Ridge Regressor', - 'br' : 'Bayesian Ridge Regressor', - 'svr' : 'Support Vector Regressor', - 'knr' : 'K-Nearest Regressor', - 'dt' : 'Decision Trees', - 'rfr' : 'Random Forest Regressor', - 'gbr' : 'Gradient Boost Regressor', - 'lgbm': 'LightGB Regressor', - 'xgb' : 'XGBoost Regressor', - 'cat' : 'Catboost Regressor', - 'ann' : 'Artificial Neural Network',
Example:
from luciferml.supervised.regression import Regression dataset = pd.read_excel('examples\Folds5x2_pp.xlsx') X = dataset.iloc[:, :-1] y = dataset.iloc[:, -1] regressor = Regression(predictor = 'lin') regressor.fit(X, y) result = regressor.result()
More about Regression here
More To be Added Soon
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
lucifer-ml-0.0.47.tar.gz
(16.9 kB
view hashes)
Built Distribution
Close
Hashes for lucifer_ml-0.0.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daad25298db7c310452c42e306e02acf0c41eb09de1a3d3677437eac5290a68c |
|
MD5 | 3fb020d7316b770bd2579b5d94e455b6 |
|
BLAKE2b-256 | 0838f96a949b0829f62c3f70762718137b426a99380253963e839787084e3ed9 |