Skip to main content

makes the analysis easier!

Project description

codecov

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.3.0.tar.gz (5.7 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.3.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: classifyspectraltype-0.3.0.tar.gz
  • Upload date:
  • Size: 5.7 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.3.0.tar.gz
Algorithm Hash digest
SHA256 547c200442deb750a9ec9fde097e141d7e90c6e3f6ec5a74d9643c9bc1fca482
MD5 a7978d9534a0bbbc03805879bf283ad8
BLAKE2b-256 2bccdde9cd5929b7034b72eaef83392dbcc3dc64231cb60aaa82bb55c7ec040e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: classifyspectraltype-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09f07a299cb50b420ebc7a698c55cfc3af251b23425dc13b493a64f05dc0233a
MD5 5e2db4c84c7201aa07940afd41d24064
BLAKE2b-256 deb2211370cd401dc3efeada26c1aa3ed2eb6d42162f866f361039ad7cbe68d5

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