This project uses a Multi-Layer Perceptron (MLP) model to suggest items travelers should bring on a trip.
It takes trip details (destination, season, duration, weather, activities, etc.) and predicts the most likely items needed, grouped by category.
- Clone the repository:
git clone https://github.com/OliverMcMillen/480planit.git - Configure virtual environment:
python -m venv .venv
Activate virtual environment:
source .venv/bin/activate - Delete files in /models directory. These will be regenerated.
- Install dependencies: pip install -r src/requirements.txt
- Train the model: Run train_trip_mlp.py 6. The model will be trained on the data in the /data directory.
- Run the predict_items_script.py to use the model and test predictions. Adjust the example_trip used at the bottom of the script.