Correct KNNRegressor

nix
Owen Green 4 years ago
parent 3b7f6239bc
commit 531f6e8399

@ -1,4 +1,4 @@
FluidKNNRegressor : FluidRealTimeModel {
FluidKNNRegressor : FluidModelObject {
var <>numNeighbours, <>weight;
@ -8,7 +8,7 @@ FluidKNNRegressor : FluidRealTimeModel {
.weight_(weight);
}
prGetParams{^[this.numNeighbours,this.weight,-1,-1];}
prGetParams{^[this.id,this.numNeighbours,this.weight,-1,-1];}
fitMsg{|sourceDataSet, targetDataSet|
^this.prMakeMsg(\fit,this.id,sourceDataSet.id,targetDataSet.id)

Loading…
Cancel
Save