diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 3ea3625..25c52fd 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -29,13 +29,13 @@
-
+
-
+
@@ -51,28 +51,28 @@
-
-
+
+
-
+
-
+
-
+
-
-
+
+
@@ -80,6 +80,15 @@
+
+
+
+
+
+
+
+
+
@@ -138,6 +147,7 @@
traceback
models[job]
range
+ exist
@@ -161,6 +171,7 @@
+
@@ -203,7 +214,7 @@
-
+
@@ -248,12 +259,12 @@
-
+
-
+
@@ -264,10 +275,10 @@
-
+
-
+
@@ -421,14 +432,21 @@
-
-
+
+
+
+
+
+
+
+
+
diff --git a/compare.sh b/compare.sh
new file mode 100755
index 0000000..3cd65bd
--- /dev/null
+++ b/compare.sh
@@ -0,0 +1,30 @@
+#!/usr/bin/env bash
+
+FILE=./dataset.csv
+
+if ! [[ -f "$FILE" ]]; then
+ echo "$FILE not exist."
+ exit 1
+fi
+
+awk 'FNR>1' ${FILE} | shuf > ./data/train.csv
+head -n 1 ${FILE} > ./tmp.csv
+head -n 1 ${FILE} > ./data/test.csv
+cat ./data/train.csv >> ./tmp.csv
+tail -n 50 tmp.csv >> ./data/test.csv
+
+
+for step in {51..501..50}
+do
+ echo "step=${step}"
+ tail -n ${step} tmp.csv > ./data/train.csv
+ algorithm=lr python3 rf.py
+ algorithm=rf python3 rf.py
+ algorithm=tree python3 rf.py
+ algorithm=ada python3 rf.py
+ algorithm=gbdt python3 rf.py
+done
+
+rm ./data/train.csv
+rm ./data/test.csv
+rm tmp.csv
\ No newline at end of file