Skip to content

Commit

Permalink
Use Java for LinearRegression class
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomis committed Jan 11, 2016
1 parent 0be9c0f commit 114027c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package net.zomis.machlearn.regression
package net.zomis.machlearn.regression;

class LinearRegression {
import java.util.Arrays;

public class LinearRegression {

public static double linearHypothesis(double[] theta, double[] x) {
if (x.length != theta.length - 1) {
Expand Down

0 comments on commit 114027c

Please sign in to comment.