Skip to content

sleep3r/sber-default

Repository files navigation

Install:

pip install -U -r requirements.txt

Demo Local Up:

streamlit run demo/app.py

Training:

python train.py --config=./configs/lgbm_fin.yml \
                --work_dir=/home/sleep3r/sberruns 
                
python train.py --config=./configs/lgbm_no_fin.yml \
                --work_dir=/home/sleep3r/sberruns 

Grid training from Terminal:

declare -a penaltyes=("l1" "l2") 

for penalty in "${penaltyes[@]}"                                            
do
    python3 train.py --config=./configs/logreg.yml \
                     --model.params.penalty="$penalty"
done
for C in 1 2                                           
do
    python3 train.py --config=./configs/logreg.yml \
                     --model.params.C $C
done

Merge submits:

 python ./scripts/merge_submits.py --sub_path_1=/home/sleep3r/finsub.csv \
                                   --sub_path_2=/home/sleep3r/nofinsub.csv \
                                   --final_sub_path=/home/sleep3r/result_submit.csv

About

Sberbank x GSB hackathon solution | 3rd place

Resources

Stars

Watchers

Forks