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