Skip to content

andb0t/kaggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My kaggle repo

This is going to grow big.

Competitions

Setup and usage

  • use pipenv in project dirs
  • for keras and h5py make sure you have libhdf5 installed: sudo apt-get install libhdf5-dev
  • create new competition folder structure by create_new_competition.sh.
  • use kaggle API to manage data and submissions:
    cd titanic
    kaggle competitions list -s titanic  # get info about competition
    kaggle competitions files -c titanic  # list data files
    kaggle competitions download -p data -c titanic  # download files
    kaggle competitions submit -f results/result.csv -m "My message"  -c titanic
  • export jupyter notebooks to python script:
    • jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb
    • run with ipython [YOUR_NOTEBOOK].py (python doesn't support jupyter cell magic)
  • run jupyter notebook from command line:
    jupyterrun [YOUR_NOTEBOOK].ipynb  # custom function: creates temporary .py script and executes it with ipython 

About

My kaggle repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages