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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file mlutilities_udea-0.0.12.tar.gz.

File metadata

  • Download URL: mlutilities_udea-0.0.12.tar.gz
  • Upload date:
  • Size: 51.4 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

Hashes for mlutilities_udea-0.0.12.tar.gz
Algorithm Hash digest
SHA256 7b5c0300ca3b3496ba6c54603636aecf274c467e0d477b09bcfa8d2bb3b6e7f9
MD5 c9dd01575ba540669d515c0cb53950f9
BLAKE2b-256 5f6a15f634be3a845bb2c878853da197e81aa0e3b58d77d79514aba6b3dc8e92

See more details on using hashes here.

File details

Details for the file mlutilities_udea-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: mlutilities_udea-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 51.8 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

Hashes for mlutilities_udea-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 71ac07637f75af10a6be2750ad904b2d130da6cb28be7d9e425160addd20197e
MD5 5b87bac8ab912f3bf74c910a9f851f9c
BLAKE2b-256 51ef6495b9e8d05b0851cb6fb5ea141fc933ee7231edfd5b075c0d5a0d7334eb

See more details on using hashes here.

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