Skip to main content

Pretrained thyroid model and pipeline for classification

Project description

Thyroid classification package

This package contains a sklearn pipeline that incorporates necessary preprocessing steps and a XGBoost classification model used to perform a classification for the Thyroid data set.

To use the package use the following commands:

# To import use:
from thyroid_model_damir_bogdan.load_pipeline import *
from thyroid_model_damir_bogdan.load_label_encoder import load_label_encoder

# To load pipeline and encoder use:
pipeline = load_pipeline()
encoder = load_label_encoder()

# To predict use:
y_pred = pipeline.predict(X) # X is a dataframe object of features
y_encoded = encoder.inverse_transform(y_pred)

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

thyroid_model_damir_bogdan-0.1.0.tar.gz (101.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thyroid_model_damir_bogdan-0.1.0-py3-none-any.whl (111.5 kB view details)

Uploaded Python 3

File details

Details for the file thyroid_model_damir_bogdan-0.1.0.tar.gz.

File metadata

File hashes

Hashes for thyroid_model_damir_bogdan-0.1.0.tar.gz
Algorithm Hash digest
SHA256 82d3425169186b78fecfde9bb76c817af189ce50a74601b10fc94745220d5b50
MD5 cb96da1605243aa4c9c86e0e8e7802f6
BLAKE2b-256 b59f9fd7acfc62e79dbda9e3a75981c0f6b8ae93b8abf1b8a5a7a166093a4094

See more details on using hashes here.

File details

Details for the file thyroid_model_damir_bogdan-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for thyroid_model_damir_bogdan-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8c68f83b1df5e3861d0aa53bcf373fb8fc6929d27b66a25ef7ca0b711ba5632
MD5 4b6b6cbfb43d1f43adba610e59825c57
BLAKE2b-256 5d04f44e48e0eea058e4cac5e380f8ddecf950c76fb371a07b712c965ae1a135

See more details on using hashes here.

Supported by

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