From 2bd1b8e75e70b8191b987b0b3df0b59b6b143af4 Mon Sep 17 00:00:00 2001 From: qlmx Date: Tue, 13 Aug 2019 15:16:49 +0800 Subject: [PATCH] add pytorch --- .idea/data_mining_models.iml | 12 -- .idea/misc.xml | 7 - .idea/modules.xml | 8 - .idea/vcs.xml | 6 - .idea/workspace.xml | 256 ---------------------------- README.md | 12 +- code/keras/binary_class.py | 13 +- code/keras/multi_class.py | 12 +- code/keras/regression.py | 12 +- code/lgb/binary_class.py | 4 +- code/lgb/multi_class.py | 4 +- code/lgb/multi_class_custom_loss.py | 2 +- code/lgb/multi_class_weight_loss.py | 2 +- code/lgb/regression.py | 2 +- code/pytorch/binary_class.py | 196 +++++++++++++++++++++ code/pytorch/multi_class.py | 187 ++++++++++++++++++++ code/pytorch/regression.py | 188 ++++++++++++++++++++ code/xgb/binary_class.py | 4 +- code/xgb/multi_class.py | 4 +- code/xgb/regression.py | 4 +- requirements.txt | 1 + 21 files changed, 613 insertions(+), 323 deletions(-) delete mode 100644 .idea/data_mining_models.iml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml delete mode 100644 .idea/workspace.xml create mode 100644 code/pytorch/binary_class.py create mode 100644 code/pytorch/multi_class.py create mode 100644 code/pytorch/regression.py diff --git a/.idea/data_mining_models.iml b/.idea/data_mining_models.iml deleted file mode 100644 index 7c9d48f..0000000 --- a/.idea/data_mining_models.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 3999087..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 0e430ff..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index ed2ff98..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -