summaryrefslogtreecommitdiff
path: root/test/lin-reg
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-07-05 11:01:46 +0200
committerPatrick Simianer <p@simianer.de>2016-07-05 11:01:46 +0200
commit2b1d7f881c19c4d4b5afae194e02d3300c7675d0 (patch)
tree5a06ee7de98640a39244b57bb369697176b44ebf /test/lin-reg
parent69949dda35c3ea21d8e926e5f0a596a0a0f61c6a (diff)
mv
Diffstat (limited to 'test/lin-reg')
-rw-r--r--test/lin-reg/exptected.txt3
-rw-r--r--test/lin-reg/input.dat50
-rw-r--r--test/lin-reg/output.dat50
3 files changed, 103 insertions, 0 deletions
diff --git a/test/lin-reg/exptected.txt b/test/lin-reg/exptected.txt
new file mode 100644
index 0000000..13de1fc
--- /dev/null
+++ b/test/lin-reg/exptected.txt
@@ -0,0 +1,3 @@
+ran for 2527 iterations
+ R^2=0.858063223720823
+{0=>0.7501625304145768, 1=>0.06388116702419537}
diff --git a/test/lin-reg/input.dat b/test/lin-reg/input.dat
new file mode 100644
index 0000000..3d93394
--- /dev/null
+++ b/test/lin-reg/input.dat
@@ -0,0 +1,50 @@
+ 2.0658746e+00
+ 2.3684087e+00
+ 2.5399929e+00
+ 2.5420804e+00
+ 2.5490790e+00
+ 2.7866882e+00
+ 2.9116825e+00
+ 3.0356270e+00
+ 3.1146696e+00
+ 3.1582389e+00
+ 3.3275944e+00
+ 3.3793165e+00
+ 3.4122006e+00
+ 3.4215823e+00
+ 3.5315732e+00
+ 3.6393002e+00
+ 3.6732537e+00
+ 3.9256462e+00
+ 4.0498646e+00
+ 4.2483348e+00
+ 4.3440052e+00
+ 4.3826531e+00
+ 4.4230602e+00
+ 4.6102443e+00
+ 4.6881183e+00
+ 4.9777333e+00
+ 5.0359967e+00
+ 5.0684536e+00
+ 5.4161491e+00
+ 5.4395623e+00
+ 5.4563207e+00
+ 5.5698458e+00
+ 5.6015729e+00
+ 5.6877617e+00
+ 5.7215602e+00
+ 5.8538914e+00
+ 6.1978026e+00
+ 6.3510941e+00
+ 6.4797033e+00
+ 6.7383791e+00
+ 6.8637686e+00
+ 7.0223387e+00
+ 7.0782373e+00
+ 7.1514232e+00
+ 7.4664023e+00
+ 7.5973874e+00
+ 7.7440717e+00
+ 7.7729662e+00
+ 7.8264514e+00
+ 7.9306356e+00
diff --git a/test/lin-reg/output.dat b/test/lin-reg/output.dat
new file mode 100644
index 0000000..1f4f963
--- /dev/null
+++ b/test/lin-reg/output.dat
@@ -0,0 +1,50 @@
+ 7.7918926e-01
+ 9.1596757e-01
+ 9.0538354e-01
+ 9.0566138e-01
+ 9.3898890e-01
+ 9.6684740e-01
+ 9.6436824e-01
+ 9.1445939e-01
+ 9.3933944e-01
+ 9.6074971e-01
+ 8.9837094e-01
+ 9.1209739e-01
+ 9.4238499e-01
+ 9.6624578e-01
+ 1.0526500e+00
+ 1.0143791e+00
+ 9.5969426e-01
+ 9.6853716e-01
+ 1.0766065e+00
+ 1.1454978e+00
+ 1.0340625e+00
+ 1.0070009e+00
+ 9.6683648e-01
+ 1.0895919e+00
+ 1.0634462e+00
+ 1.1237239e+00
+ 1.0323374e+00
+ 1.0874452e+00
+ 1.0702988e+00
+ 1.1606493e+00
+ 1.0778037e+00
+ 1.1069758e+00
+ 1.0971875e+00
+ 1.1648603e+00
+ 1.1411796e+00
+ 1.0844156e+00
+ 1.1252493e+00
+ 1.1168341e+00
+ 1.1970789e+00
+ 1.2069462e+00
+ 1.1251046e+00
+ 1.1235672e+00
+ 1.2132829e+00
+ 1.2522652e+00
+ 1.2497065e+00
+ 1.1799706e+00
+ 1.1897299e+00
+ 1.3029934e+00
+ 1.2601134e+00
+ 1.2562267e+00