An open API service indexing awesome lists of open source software.

https://github.com/itdxer/kaggle-cooking

A very simple solution to the Kaggle's "What's Cooking?" competition :egg:
https://github.com/itdxer/kaggle-cooking

Last synced: 3 months ago
JSON representation

A very simple solution to the Kaggle's "What's Cooking?" competition :egg:

Awesome Lists containing this project

README

        

# The Kaggle's "What's Cooking?" competition.

The main information about the competition you can find [here](https://www.kaggle.com/c/whats-cooking)

## Instruction on how to use

* Install Python's requirements

```bash
$ pip install -r requirements.txt
```

* Train classifier

```bash
$ python train_model.py
```

* Create submission file

```bash
$ python train_model.py --mode submission
```

The main submission file you can find in the `data` directory.

To make your result reproducible you need to add ``--reproducible`` flag

```bash
$ python train_model.py --mode submission --reproducible
```

## Tests

To run unit tests you need to execute the following command in the terminal from project's root directory

```bash
$ nosetests
```

## Documentation

```
$ python train_model.py -h
usage: train_model.py [-h] [-m {validation,submission}] [-r]

optional arguments:
-h, --help show this help message and exit
-m {validation,submission}, --mode {validation,submission}
set up training mode
-r, --reproducible make training reproducible
```