From 193d1d165fbeeeea22fe488e54797b2e17a782b2 Mon Sep 17 00:00:00 2001 From: kalenhaha Date: Sat, 22 Mar 2014 21:48:27 +0800 Subject: [PATCH] separate binary classification and regression demo --- .../README | 0 .../agaricus-lepiota.data | 0 .../agaricus-lepiota.fmap | 0 .../agaricus-lepiota.names | 0 .../dump2json.py | 0 .../mapfeat.py | 0 .../mknfold.py | 0 .../mushroom.conf | 0 .../runexp.sh | 0 demo/regression/reg.conf | 22 ------------------- demo/regression/validation.txt | 4 ---- 11 files changed, 26 deletions(-) rename demo/{mushroom => binary_classification}/README (100%) rename demo/{mushroom => binary_classification}/agaricus-lepiota.data (100%) rename demo/{mushroom => binary_classification}/agaricus-lepiota.fmap (100%) rename demo/{mushroom => binary_classification}/agaricus-lepiota.names (100%) rename demo/{mushroom => binary_classification}/dump2json.py (100%) rename demo/{mushroom => binary_classification}/mapfeat.py (100%) rename demo/{mushroom => binary_classification}/mknfold.py (100%) rename demo/{mushroom => binary_classification}/mushroom.conf (100%) rename demo/{mushroom => binary_classification}/runexp.sh (100%) delete mode 100644 demo/regression/reg.conf delete mode 100644 demo/regression/validation.txt diff --git a/demo/mushroom/README b/demo/binary_classification/README similarity index 100% rename from demo/mushroom/README rename to demo/binary_classification/README diff --git a/demo/mushroom/agaricus-lepiota.data b/demo/binary_classification/agaricus-lepiota.data similarity index 100% rename from demo/mushroom/agaricus-lepiota.data rename to demo/binary_classification/agaricus-lepiota.data diff --git a/demo/mushroom/agaricus-lepiota.fmap b/demo/binary_classification/agaricus-lepiota.fmap similarity index 100% rename from demo/mushroom/agaricus-lepiota.fmap rename to demo/binary_classification/agaricus-lepiota.fmap diff --git a/demo/mushroom/agaricus-lepiota.names b/demo/binary_classification/agaricus-lepiota.names similarity index 100% rename from demo/mushroom/agaricus-lepiota.names rename to demo/binary_classification/agaricus-lepiota.names diff --git a/demo/mushroom/dump2json.py b/demo/binary_classification/dump2json.py similarity index 100% rename from demo/mushroom/dump2json.py rename to demo/binary_classification/dump2json.py diff --git a/demo/mushroom/mapfeat.py b/demo/binary_classification/mapfeat.py similarity index 100% rename from demo/mushroom/mapfeat.py rename to demo/binary_classification/mapfeat.py diff --git a/demo/mushroom/mknfold.py b/demo/binary_classification/mknfold.py similarity index 100% rename from demo/mushroom/mknfold.py rename to demo/binary_classification/mknfold.py diff --git a/demo/mushroom/mushroom.conf b/demo/binary_classification/mushroom.conf similarity index 100% rename from demo/mushroom/mushroom.conf rename to demo/binary_classification/mushroom.conf diff --git a/demo/mushroom/runexp.sh b/demo/binary_classification/runexp.sh similarity index 100% rename from demo/mushroom/runexp.sh rename to demo/binary_classification/runexp.sh diff --git a/demo/regression/reg.conf b/demo/regression/reg.conf deleted file mode 100644 index 627a1de05..000000000 --- a/demo/regression/reg.conf +++ /dev/null @@ -1,22 +0,0 @@ -num_round=10 - -save_period=0 - -data = "train.txt" -test:data = "test.txt" -eval[valid] = "validation.txt" - -booster_type=1 - -bst:num_feature=3 - -bst:learning_rate=0.01 - -bst:min_child_weight=1 - -bst:min_split_loss=0.1 - -bst:max_depth=3 - -bst:reg_lambda=0.1 - diff --git a/demo/regression/validation.txt b/demo/regression/validation.txt deleted file mode 100644 index 74dd9b66a..000000000 --- a/demo/regression/validation.txt +++ /dev/null @@ -1,4 +0,0 @@ -1 0:1 1:2 2:1 -1 0:2 1:1 2:1 -0 0:5 1:0 2:0 -