Update release-packaging/Classes/FluidKDTree.sc and release-packaging/Classes/FluidKMeans.sc for interface changes

nix
Owen Green 6 years ago
parent 453d74b4ee
commit deb785f4e6

@ -1,7 +1,7 @@
FluidKDTree : FluidManipulationClient {
index{|dataset,action|
this.pr_sendMsg(\index,[dataset.asString],action);
fit{|dataset,action|
this.pr_sendMsg(\fit,[dataset.asString],action);
}
kNearest{ |buffer, k,action|

@ -12,8 +12,12 @@ FluidKMeans : FluidManipulationClient {
this.pr_sendMsg(\predict,[dataset.asString, labelset.asString],action,[numbers(FluidMessageResponse,_,this.k,_)]);
}
getClusters{ |dataset, labelset,action|
this.pr_sendMsg(\getClusters,[dataset.asString, labelset.asString],action);
}
predictPoint { |buffer, action|
this.pr_sendMsg(\predictPoint,[buffer.asUGenInput],action,[number(FluidMessageResponse,_,_)]);
this.pr_sendMsg(\predictPoint,[buffer.asUGenInput],action,[numbers(FluidMessageResponse,_,_)]);
}
cols { |action|

Loading…
Cancel
Save