Skip to main content

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


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.12.tar.gz (51.4 MB view hashes)

Uploaded Source

Built Distribution

mlutilities_udea-0.0.12-py3-none-any.whl (51.8 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page