Skip to content

Commit

Permalink
fix: build error in the repl file
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonShin committed Nov 7, 2018
1 parent 7a7f4b1 commit 72c73ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/linear_model/index.repl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const lr = new LinearRegression();
const X = [1, 2, 4, 3, 5];
const y = [1, 3, 3, 2, 5];

lr.fit({ X, y });
lr.fit(X, y);

console.log(lr.predict([1, 2]));

Expand Down

0 comments on commit 72c73ff

Please sign in to comment.