aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test_file_read_data_libsvm.txt5
-rw-r--r--tests/data/test_file_read_data_libsvm_0.txt5
-rw-r--r--tests/data/test_file_read_data_no_label_libsvm.txt5
-rw-r--r--tests/data/test_file_read_data_sparse_libsvm.txt10
4 files changed, 25 insertions, 0 deletions
diff --git a/tests/data/test_file_read_data_libsvm.txt b/tests/data/test_file_read_data_libsvm.txt
new file mode 100644
index 0000000..da1c0ff
--- /dev/null
+++ b/tests/data/test_file_read_data_libsvm.txt
@@ -0,0 +1,5 @@
+2 1:0.7065937536993949 2:0.7016517970438980 3:0.1548611397288129
+1 1:0.4604987687863951 2:0.6374142980176117 3:0.0370930278245423
+3 1:0.3798777132278375 2:0.5745070018747664 3:0.2570906697837264
+4 1:0.2789376050039792 2:0.4853242744610165 3:0.1894010436762711
+3 1:0.7630904372339489 2:0.1341546320318005 3:0.6827430912944857
diff --git a/tests/data/test_file_read_data_libsvm_0.txt b/tests/data/test_file_read_data_libsvm_0.txt
new file mode 100644
index 0000000..6169a0c
--- /dev/null
+++ b/tests/data/test_file_read_data_libsvm_0.txt
@@ -0,0 +1,5 @@
+2 0:0.7065937536993949 1:0.7016517970438980 2:0.1548611397288129
+1 0:0.4604987687863951 1:0.6374142980176117 2:0.0370930278245423
+3 0:0.3798777132278375 1:0.5745070018747664 2:0.2570906697837264
+4 0:0.2789376050039792 1:0.4853242744610165 2:0.1894010436762711
+3 0:0.7630904372339489 1:0.1341546320318005 2:0.6827430912944857
diff --git a/tests/data/test_file_read_data_no_label_libsvm.txt b/tests/data/test_file_read_data_no_label_libsvm.txt
new file mode 100644
index 0000000..5452216
--- /dev/null
+++ b/tests/data/test_file_read_data_no_label_libsvm.txt
@@ -0,0 +1,5 @@
+1:0.7065937536993949 2:0.7016517970438980 3:0.1548611397288129
+1:0.4604987687863951 2:0.6374142980176117 3:0.0370930278245423
+1:0.3798777132278375 2:0.5745070018747664 3:0.2570906697837264
+1:0.2789376050039792 2:0.4853242744610165 3:0.1894010436762711
+1:0.7630904372339489 2:0.1341546320318005 3:0.6827430912944857
diff --git a/tests/data/test_file_read_data_sparse_libsvm.txt b/tests/data/test_file_read_data_sparse_libsvm.txt
new file mode 100644
index 0000000..ff41fe7
--- /dev/null
+++ b/tests/data/test_file_read_data_sparse_libsvm.txt
@@ -0,0 +1,10 @@
+2 2:0.7016517970438980
+1 3:0.0370930278245423
+3
+4 2:0.4853242744610165
+3 1:0.7630904372339489
+1
+2
+3
+4
+1