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.1.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.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: classifyspectraltype-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 0b94d94917d485a2bf41880e7023c0f4044e568da4bc0ad3b5e7158b263ce4e2
MD5 cd7d01cc3966bd237246da12c9028832
BLAKE2b-256 1b9dcd32bfde52ba3929397816f114b27ce59aa448407c74ecde3d7a5b3812d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: classifyspectraltype-0.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82748f8d573f4b4e26b9dd429aaed3bb694037b19fe3a2aadab55d6f59229531
MD5 fa7bb49f2563febd6c7d1f348ff5c627
BLAKE2b-256 8d8276ba3e6341477a5c1d3d1d1e0c6f3f7832f01c8dfeeaba20781fe16c12d3

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