projects
/
Benchmarks_CSolver.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Adding sypet to repo
[Benchmarks_CSolver.git]
/
sypet-non-incremental
/
benchmarks
/
math
/
8
/
Solution.java
1
import org.apache.commons.math3.stat.regression.SimpleRegression;
2
3
public class Solution {
4
5
public static double predict(double[][] arg0, double arg1) {
6
SimpleRegression v1 = new SimpleRegression();
7
v1.addData(arg0);
8
double v2 = v1.predict(arg1);
9
return v2;
10
}
11
12
}