Skip to content

Commit

Permalink
train() ---> fit()
Browse files Browse the repository at this point in the history
  • Loading branch information
mzusin committed Mar 18, 2024
1 parent 2c476c4 commit b7be917
Show file tree
Hide file tree
Showing 21 changed files with 36 additions and 35 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ This project is a collection of TypeScript machine learning helpers and utilitie




```
███ ███ ███████ ███ ███ ██
Expand Down
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ declare module 'mz-ml' {
private static initZeroArray;
private shuffle;
private gradientDescent;
train(): (number | number[])[];
fit(): (number | number[])[];
predict(features: number[]): number;
rSquared(): number;
meanSquaredError(): number;
Expand Down
2 changes: 1 addition & 1 deletion dist/mz-ml.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b7be917

Please sign in to comment.