aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil@netcraft.com>2018-11-14 23:16:00 +0000
committerVasil Zlatanov <vasil@netcraft.com>2018-11-14 23:16:00 +0000
commit36347903e33f17841bfe083204a7b5c4013e3074 (patch)
treedd9d3e831f37d1ac036d61aeb075e07c59d4375d
parent948eca906f80a06e7386e1c7a31e3678178f82ad (diff)
downloadvz215_np1915-36347903e33f17841bfe083204a7b5c4013e3074.tar.gz
vz215_np1915-36347903e33f17841bfe083204a7b5c4013e3074.tar.bz2
vz215_np1915-36347903e33f17841bfe083204a7b5c4013e3074.zip
Change split to 70/30
-rwxr-xr-xtrain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/train.py b/train.py
index 2db7a7a..9bfef52 100755
--- a/train.py
+++ b/train.py
@@ -208,7 +208,7 @@ def main():
parser.add_argument("-f", "--faces", help="Show faces", type=int, default = 0)
parser.add_argument("-c", "--principal", help="Show principal components", action='store_true')
parser.add_argument("-s", "--seed", help="Seed to use", type=int, default=0)
- parser.add_argument("-t", "--split", help="Fractoin of data to use for testing", type=float, default=0.22)
+ parser.add_argument("-t", "--split", help="Fractoin of data to use for testing", type=float, default=0.3)
### best split for lda = 22
### best plit for pca = 20
parser.add_argument("-2", "--grapheigen", help="Swow 2D graph of targets versus principal components", action='store_true')