A package for feature extraction, hyperopt, and validation schemas
Project description
Data Science: Sales Prediction
Project Status: Completed
Overview:
This project provides a Python package,future_sales_prediction_2024, to simplify common tasks in data science workflows. It includes tools for feature extraction, validation schema creation, hyperparameter optimization, and model training.
Methods Used
- Feature Engineering: Automates the creation and selection of important features, including memory optimization.
- Validation: Implements schema validation to ensure data consistency, identify missing values, and prevent duplicate records.
- Hyperparameter Tuning: Leverages tools like hyperopt for efficient parameter search.
- Visualization: Includes plotting tools for feature importance and error analysis.
Technologies
- Python
- Pandas, numpy, scikit-learn
- dvc, gcloud
Features
- Automatically fetches raw and preprocessed data from Google Cloud Storage after installation.
- Data Version Control integration. To use this tool run in the terminal: git clone -b DS-4.1 https://github.com/YPolina/Trainee.git cd /{path}/Trainee dvc init dvc pull
- Provides an easy interface for working with datasets for sales forecasting.
Challenges:
- Complexity in Generalization: Making the tools generic enough to work with diverse datasets while maintaining simplicity.
- Performance Optimization: Balancing ease of use with computational efficiency.
- Error Handling: Ensuring clear and helpful error messages for data validation and model failures.
Conclusion:
This package is a modular and flexible solution for streamlining data science workflows. It provides data scientists and ML engineers with reusable tools to focus on solving domain-specific problems.
[0.1.1] - 2024-11-25
Added
- Changes in loader function: upload files using filenames.
[0.2.1] - 2024-11-26
- Added support for Google Cloud Storage.
- Improved deployment pipeline.
- Bug fixes and performance improvements.
[0.2.2] - 2024-11-27
- Bug fixes.
[0.2.3] - 2024-11-28
- Enhanced Explainability and Error Analysis Users can now save plots generated by the Explainability and ErrorAnalysis classes to files. The directory and filenames are customizable, and plots are automatically overwritten if files with the same name already exist.
- Customizable Hyperparameter Tuning Users can now fully customize the hyperparameter tuning process: Define the search space for hyperparameters. Specify the optimization algorithm and objective function. Tailor the evaluation process to their needs.
- FeatureImportanceLayer Enhancements Plots for baseline and final model feature importances can now be saved directly to disk. Customizable output directory (output_dir) and file names. Plots overwrite existing files with the same name.
[0.2.4] - 2024-11-29
- Bug fixes.
[1.2.4] - 2024-11-29
- Cloud Storage Integration
- The data_handling.py and feature_extraction.py scripts now support loading .csv files from GCS paths. Outputs are saved to a user-specified GCS directory via the --outdir parameter.
[1.2.5, 1.2.6] - 2024-11-29
- Bug fixes.
[2.2.6] - 2024-11-29
- Automatically fetches raw and preprocessed data from Google Cloud Storage after installation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file future_sales_prediction_2024-2.2.7.tar.gz.
File metadata
- Download URL: future_sales_prediction_2024-2.2.7.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7da305f5827a1026f42d0a0cfc77f2b37a85fee928cb152fe7f4f8c8f29b6600
|
|
| MD5 |
818bbb713625b57424f0c342a6056513
|
|
| BLAKE2b-256 |
1295d0337264e20cf5eacd55977cb81f01ad33935d5d3cd1176ea85f98c0fd1d
|
File details
Details for the file future_sales_prediction_2024-2.2.7-py3-none-any.whl.
File metadata
- Download URL: future_sales_prediction_2024-2.2.7-py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01a2bb934047f5d6233fc98cb59e22b32d075822b86b602164a2319d574a8ff3
|
|
| MD5 |
1a1b1b1556270fc89bc874651e6841c2
|
|
| BLAKE2b-256 |
45d6cf9a35341fc8a238a95b4967ac8c668c916453112ab84e27a309dc8edde0
|