Skip to main content

A command-line tool to predict food waste based on household size, food type, and amount purchased.

Project description

Food Waste Predictor

A command-line tool to predict food waste based on household size, food type, and amount purchased.

Getting Started

  1. Download the Project: Clone or download this repository.

  2. Navigate to the Folder: Open a terminal and navigate to the folder where the project is located.

  3. Run the Tool: Execute the command to run the prediction tool:

  4. Using Sample Data: The tool uses the included food_waste_data.csv file to make predictions. You do not need to create a new file.

  5. Using Your Own Data: If you wish to use your own data:

  • Replace food_waste_data.csv with your own CSV file in the same directory.
  • Ensure your CSV file follows the same format as the provided sample.

Example Input

  • Household Size: 3
  • Food Type: Fruits
  • Amount Purchased: 5 kg

Installation

You can install the package using pip:

pip install food_waste_predictor

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

food_waste_predictor-0.9.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

food_waste_predictor-0.9-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file food_waste_predictor-0.9.tar.gz.

File metadata

  • Download URL: food_waste_predictor-0.9.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for food_waste_predictor-0.9.tar.gz
Algorithm Hash digest
SHA256 2f3f196bd02ab60e4972d673b5e171a065597f77a687fdb730721b57c4f8ff8c
MD5 e66e818d52a34c59a3ce1b2a0508e831
BLAKE2b-256 f6c1d173cf50b13794a8e27b23d6328beab79888e7a582a57f3d32a73d276abf

See more details on using hashes here.

File details

Details for the file food_waste_predictor-0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for food_waste_predictor-0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f0f53e5a1e4bc5a6b19ad4960fab3add8fdfd2c30aa5ff72afda878348201493
MD5 dfff11970247644e1cf651923f246cc9
BLAKE2b-256 8533823659d667b0cbdbc8041a652104e11577b435c32cfa3eaa7790a4e2639e

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