Kaggle Trends 3rd Place Solution
the 3rd place solution code of Kaggle TReNDS Neuroimaging (https://www.kaggle.com/c/trends-assessment-prediction/overview)
Install / Use
npx skills add shimacos37/kaggle-trends-3rd-place-solutionInstalls into whichever agent you are using.
README
kaggle-trends-3rd-place-solution
the 3rd place solution code of Kaggle TReNDS Neuroimaging (https://www.kaggle.com/c/trends-assessment-prediction/overview)
Solution OverView

Solution Details
Please read this post on Kaggle Discussion.
Hardware
I mainly use local machine with following spec.
OS: Ubuntu 18.04 LTS
CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
GPU: GeForce RTX 2080 x2
Requirement
You should install docker-ce. If you don't have docker installed, please refer to this page to install it.
How to use
Data download
Plese download data to ./input from https://www.kaggle.com/c/trends-assessment-prediction/data and unzip it.
build docker
$ docker build ./run_image/gpu -t kaggle/pytorch:trends
preprocess
- compute statistic features of voxel and adjacency matrix of components from fnc data.
$ sh bin/preprocess.sh
train model and make prediction of test data
I used Weight & Biases for management of experiments and Google Cloud Storage for saving result. If you want to use this function, please set yamls/store/*.yaml as below.
wandb_project: [your wandb project name]
gcs_project: [your gcp project name]
bucket_name: [your gcs bucket name]
-
Train NN models
$ sh bin/train_nn.sh -
make_cnn_feature
$ sh bin/make_cnn_feature.sh -
train simple models
$ sh bin/train_simple_models.sh
stacking
$ sh bin/stacking_lgbm.sh && sh bin/stacking_svm.sh
blending stacking
$ sh bin/blending_stacking.sh
The final output is generated in ./output/blending_lgbm_svm_stacking.csv.
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.6kCommit, push, and open a PR
