Skip to content

Commit

Permalink
knn
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavnt committed Jun 26, 2021
1 parent 0d4428e commit ee59075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/KNN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class KNearestNeighbors implements IMLModel {
y: any | undefined;
model: KNN | undefined;

loadData(X: number[], y: number[]) {
loadData(X: number[][], y: number[]) {
if (is1DArray(X)) {
this.X = [];

Expand Down

0 comments on commit ee59075

Please sign in to comment.