Skip to main content

makes the analysis easier!

Project description

classifyspectraltype

classifyspectraltype is a Python package tailored for data scientists and analysts focusing on predictive analytics in laptop pricing. This package focuses on data cleaning, file copying, logistic regression modeling, and plot saving functionalities to facilitate a smoother workflow from raw data to insights.

Installation

$ pip install classifyspectraltype

Usage

classifyspectraltype allows users to create tables and boxplot visualizations from NASA’s Exoplanet Archive' planetary systems dataset, as well as perform cross validation, confidence interval removal, and train test split functions.

from classifyspectraltype.boxplot_table_function import make_boxplot_and_table
from classifyspectraltype.split_cross_val import split_cross_val
from classifyspectraltype.clean_confidence_intervals import clean_confidence_intervals

Below are some examples of how to use our functions:

make_boxplot_and_table("preprocessed_data_csv", "column_name", "example_csv_directory", "example_boxplot_directory") # This function produces a boxplot and csv table saved to respective dirs

split_cross_val("preprocessed_data_csv", "target_variable_name", "split= decimal_percent", "folds= number_of_folds") # This function splits the data using train_test_split and calculates cross validation scores for logistic regression and random forest models

clean_confidence_intervals("example_dataset_csv") # This function removes confidence intervals, keeping only the mean values in the dataset

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

classifyspectraltype was created by DSCI310 Group16. It is licensed under the terms of the MIT license.

Credits

classifyspectraltype was created with cookiecutter and the py-pkgs-cookiecutter template.

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

classifyspectraltype-0.2.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

classifyspectraltype-0.2.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file classifyspectraltype-0.2.0.tar.gz.

File metadata

  • Download URL: classifyspectraltype-0.2.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.5 Linux/6.8.4-200.fc39.x86_64

File hashes

Hashes for classifyspectraltype-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f8409f5ed645dbb5356619e1bcc54e6cc63ceadabe6538eb837bedb6210ef392
MD5 ceaa2fc75eb4140f2f5c8e8391bc72eb
BLAKE2b-256 b3fbe729b91c0867b164257aad927cb0470868d26f9f2b08365784ce49251023

See more details on using hashes here.

File details

Details for the file classifyspectraltype-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: classifyspectraltype-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.5 Linux/6.8.4-200.fc39.x86_64

File hashes

Hashes for classifyspectraltype-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8c5536cb1708fa9b90c6fbde49236286feb3a25e6c03afa99f9cb7cec53b255
MD5 a189bd3d2ef0e8736805a9e8cf792eb2
BLAKE2b-256 ff3a9b8b4734b6b4e6ddd09fdd408154e3677810f6fd474577f8df3981e621a8

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