Library to teach Machine Learning
Project description
MLutilities
This python library aims to provide modules that can be useful to teach Data Analysis and Machine Learning.
Installation: to install this package simple use the following command
pip install mlutilities-udea
Basi Usage
Using the mlutilities library for Exploratory Data Analysis (EDA)
Univariant Analysis
In this example, we demonstrate how to use the mlutilities library to load a dataset, perform the Kolmogorov-Smirnov goodness-of-fit test, and visualize the data.
from mlutilities.datasets import load_dataset
from mlutilities.eda import kolmogorov_test
# First, we load the "penguins" dataset into a Pandas DataFrame.
data = load_dataset(data_set="penguins", load_as="dataframe", n=-1)
# We print the description of the dataset to provide some information about it.
print(data["DESC"])
# We display an image associated with the dataset.
display(data['image'])
# Next, we extract the data from the dataset for further analysis.
df = data["data"]
# We perform the Kolmogorov-Smirnov test on the "bill_depth_mm" variable and plot its histogram.
kolmogorov_test(dataset=df, variable="bill_depth_mm", plot_histogram=True)
You can find more example on the notebooks folder.
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
mlutilities_udea-0.0.6.tar.gz
(59.3 MB
view details)
Built Distribution
File details
Details for the file mlutilities_udea-0.0.6.tar.gz
.
File metadata
- Download URL: mlutilities_udea-0.0.6.tar.gz
- Upload date:
- Size: 59.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.0 Linux/6.2.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e15312d535a068e2b1f408c16da6bbf541c7c339ac069e2fdf6ea9faad639085 |
|
MD5 | e160d17ffb9c0983ab38d5ac09cc3bcd |
|
BLAKE2b-256 | 289ccb5fba2c1dc8a4095de50b129dc7d4dd2539dd09d9fca1d00de12a92c629 |
File details
Details for the file mlutilities_udea-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: mlutilities_udea-0.0.6-py3-none-any.whl
- Upload date:
- Size: 59.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.0 Linux/6.2.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f7c521d00a0d41c31f4e86c879e6553d6fe63997cd8549f94901f24d8b30f48 |
|
MD5 | f8ea154eb270f2710b1047142bdaf20f |
|
BLAKE2b-256 | e8389440496ed452923966f9606f3c7c5903eb8aec01c019f202451817534e2f |