From fd72a97207a4baaf8757b130b2eb888dd3fb3338 Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Sun, 23 Apr 2017 22:36:05 -0700 Subject: [PATCH] README... --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 7fa4a9202..7fd0915f7 100644 --- a/README.md +++ b/README.md @@ -248,6 +248,7 @@ $ dvc run python code/extract_binary_fr.py '' data/Posts-fr.tsv data/Pos ``` $ wget -nv -P code https://s3-us-west-2.amazonaws.com/dvc-share/so/small/code/train_test_split.py +2017-04-23 15:39:23 URL:https://s3-us-west-2.amazonaws.com/dvc-share/so/small/code/train_test_split.py [1615/1615] -> "code/train_test_split.py.1" [1] $ git add code/train_test_split.py $ git commit -m 'Train and test split code' [master ed6ddae] Train and test split code @@ -264,6 +265,29 @@ $ dvc run python code/train_test_split.py data/Posts-bin-fr.tsv 0.25 20170422 da [Git] A data/Posts-bin-fr-train.tsv ``` +``` +$ wget -nv -P code https://s3-us-west-2.amazonaws.com/dvc-share/so/small/code/df_to_matrix.py +2017-04-23 15:38:56 URL:https://s3-us-west-2.amazonaws.com/dvc-share/so/small/code/df_to_matrix.py [1522/1522] -> "code/df_to_matrix.py.1" [1] +$ git add code/df_to_matrix.py +$ git commit -m 'Data frame to matrix script' +[master 51779a5] Data frame to matrix script + 1 file changed, 55 insertions(+) + create mode 100644 code/df_to_matrix.py +``` + +``` +$ run python code/df_to_matrix.py data/Posts-bin-fr-train.tsv data/Posts-train-matrix.p +[Git] A new commit 56d02ee was made in the current branch. Added files: +[Git] A .state/Posts-train-matrix.p.state +[Git] A data/Posts-train-matrix.p +``` + +``` +$ dvc run python code/df_to_matrix.py data/Posts-bin-fr-test.tsv data/Posts-test-matrix.p +[Git] A new commit 14772f7 was made in the current branch. Added files: +[Git] A .state/Posts-test-matrix.p.state +[Git] A data/Posts-test-matrix.p +```