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.9.tar.gz
(42.3 MB
view details)
Built Distribution
File details
Details for the file mlutilities_udea-0.0.9.tar.gz
.
File metadata
- Download URL: mlutilities_udea-0.0.9.tar.gz
- Upload date:
- Size: 42.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e2ea133208c5004c518a2e63f096fe05825240986ce22ac72dbf0190528ce41 |
|
MD5 | 63670611acc4309c5fae0f11284bd8fb |
|
BLAKE2b-256 | 2edd667fa6ac4ad655dc23bf9d3ffd3f2621e33f463b0a18073d1c7bb679659e |
File details
Details for the file mlutilities_udea-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: mlutilities_udea-0.0.9-py3-none-any.whl
- Upload date:
- Size: 42.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15edb8683b7d055293b55c766f82dd4399c8b563c42bd3b017571f14860b7cb1 |
|
MD5 | 2a3329d6b0b13cbcfe05c3ca0310a6db |
|
BLAKE2b-256 | 9e92a542416b060acd35eaeea7907bd0796b89c3c20cb1790e9f910f1952244d |