Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daniel-m-campos/kaggles
Repo for Kaggle competitions
https://github.com/daniel-m-campos/kaggles
Last synced: about 22 hours ago
JSON representation
Repo for Kaggle competitions
- Host: GitHub
- URL: https://github.com/daniel-m-campos/kaggles
- Owner: daniel-m-campos
- Created: 2024-02-27T03:22:32.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-03-12T20:10:53.000Z (8 months ago)
- Last Synced: 2024-03-12T21:27:16.508Z (8 months ago)
- Language: Jupyter Notebook
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kaggles
A collection of Kaggle competitions I have participated in.# Usage
## 1. Create Virtual Environment
```bash
script/create_venv.sh
```## 2. Create Competition Directory
```bash
cd kaggles
mkdir -p /kernels
```## 3. Download Competition Data
```bash
script/download_data.sh
```## 4. Pull Competition Kernels
```bash
script/pull_kernels.sh
```## 5. Push Competition Kernels
```bash
kaggle k push -p /kernels/
```# Utility Scripts
Kaggle supports [utility scripts](https://www.kaggle.com/discussions/product-feedback/91185) to help avoid code duplication but they can be a little tricky to set up with a repo. This is how it's done here:
1. Create a new kernel and add the utility code to it. E.g. `home-data-for-ml-course/src/`
1. Push the kernel to Kaggle. `kaggle k push -p home-data-for-ml-course/src/`
1. Go to Kaggle, open the utility kernel with the editor and click `File -> Set as utility script`.
1. For kernels that depend on the utility script, add the utility kernel to the `kernel_sources` list in the `kernel-metadata.json` file. E.g.
```json
"kernel_sources": [
"danielmcampos/house-price-utils"
],
```
Alternatively, click `File -> Add utility script` and select the utility script.