Skip to main content

No project description provided

Project description

Culminator

Culminator is a Python package designed to facilitate regression, classification, and clustering. It provides functionalities for data loading, preprocessing, training, and predicting. This README file serves as a guide to understand and utilize the package effectively.

Installation and Importing

To install culminator, you can use pip:

pip install culminator

The recommended importation is:

from culminator.regression import regression, predict_values_regression
from culminator.classification import classification, predict_values_classification
from culminator.clustering import clustering, predict_values_clustering

Regression

The regression module provides functions for training and predicting regression models.

Functions:

  1. regression: Trains a regression model
  2. predict_values_regression: Predicts values using a trained regression model
from culminator import regression

X, y, degree, parameters, predictions, mean, std = regression(filename="Diamonds Prices V2.csv", y_column=7, drop_columns=[0], round_digits=2)

input_data = np.array([[0.3,"Ideal","I","SI2",62,54,348,4.31,4.34,2.68],
                       [0.42,"Premium","G","VS2",61.9,58,1087,4.82,4.77,2.97],
                       [0.7,"Premium","F","SI2",62.5,60,2373,5.66,5.61,3.52]])
input_predictions = predict_values(input_data, "Diamonds are Forever V2.csv", mean, std, degree, parameters, 7, [0], 2)

Classification

The classification module provides functions for training and predicting classification models.

Functions:

  1. classification: Trains a classification model
  2. predict_values_classification: Predicts values using the trained classification model
from culminator import classification

X, y, parameters, predictions, label_map, mean, std = classification(filename="Diabetes.csv", drop_columns=[0,2])

input_data = np.array([[1,95,66,13,38,19.6,0.334,25],
                       [7,81,78,40,48,46.7,0.261,42],
                       [10,101,86,37,0,45.6,1.136,38]])
input_predictions = predict_values(input_data, "Diabetes.csv", mean, std, parameters, label_map, drop_columns=[0,2])

Clustering

The clustering module provides functions for clustering data points.

Functions:

  1. clustering: Performs clustering on a dataset
  2. predict_values_clustering: Predicts cluster assignments for new data points
from culminator import clustering

centroids, cluster_assignments, mean, std = clustering(filename="Flower Species.csv", k=3)

input_data = np.array([[13, "Blue, 2.59,2.87],
                       [11, "Purple", 0.74,2.5],
                       [13, "Green", 4.28,2.26]])
input_predictions = predict_values(input_data, "Wine Types.csv", mean, std, centroids)

Notes

  • Ensure that the input data files are properly formatted and contain necessary columns.
  • This README provides a brief overview of the package and its functionalities. For detailed documentation, including parameter descriptions and usage examples, refer to the official documentation

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

culminator-0.11.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

culminator-0.11-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file culminator-0.11.tar.gz.

File metadata

  • Download URL: culminator-0.11.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for culminator-0.11.tar.gz
Algorithm Hash digest
SHA256 57bf3d5258e7885e8187a8aa962916f426701b161c1ed87c543881d9ce2a4696
MD5 693411cfd5ab0b1b56c289bfd3caf971
BLAKE2b-256 3e68ae4514f975f9fb1ba017e72e03c1d13eee47d348ace3edac45e7ec3b6474

See more details on using hashes here.

File details

Details for the file culminator-0.11-py3-none-any.whl.

File metadata

  • Download URL: culminator-0.11-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for culminator-0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 57db8c946705a02503147d90d2780a13f12fc26d4013ce48b7fb6aa9ff6b7f17
MD5 3e36dd8061128351596afe92d4148d32
BLAKE2b-256 8e904d9a1b8efae30f201292c54e485fe11a84c2dc54b81c6a423cfb047d1201

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