Skip to content

Experiments on Porto Seguro's Safe Driver Prediction Challenge

License

Notifications You must be signed in to change notification settings

jpedrocm/porto-seguro-experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 2

python status license

This is the second project for the Machine Learning class.

Description

The goal of this project is to explore the Porto Seguro's Safe Driver Prediction Challenge released on Kaggle in November of 2017. We aim to experiment main models, find their best hyperparameter configurations and features combination through k-fold cross-validation to get a good final solution.

Getting Started

Requirements

Installing

  • Clone this repository into your machine
  • Download and install all the requirements listed above in the given order
  • Download the training and test datasets from the challenge's data page
  • Place the CSV's in the data/ folder

Reproducing

  • Edit the ConfigHelper attribute analysis_dataset with "train" or "test"
  • Generate analysis of the chosen dataset
python generate_analysis.py
  • Edit the ConfigHelper remaining attributes and get_training_models function according to the current sample
  • Generate training results
python generate_training_results.py
  • Edit the get_submission_models function in the ConfigHelper class according to the current sample
  • Generate all models submission files
python generate_test_submission.py

Project Structure

.
├── analysis                           # Feature analysis files   
├── code                               # Code files
|   ├── generate_analysis.py
|   ├── generate_test_submission.py
|   ├── generate_training_results.py
|   ├── config_helper.py
|   ├── data_helper.py
|   ├── io_helper.py
|   ├── metrics_helper.py
|   └── statistics_helper.py
├── data                               # Dataset files
├── results                            # Training results
├── submissions                        # Test submission files
├── LICENSE.md
└── README.md

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Experiments on Porto Seguro's Safe Driver Prediction Challenge

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages