34 #ifndef vtkPSciVizKMeans_h 35 #define vtkPSciVizKMeans_h 37 #include "vtkPVVTKExtensionsDefaultModule.h" 45 virtual void PrintSelf(ostream& os, vtkIndent indent);
63 vtkSetMacro(MaxNumIterations,
int);
64 vtkGetMacro(MaxNumIterations,
int);
72 vtkSetMacro(Tolerance,
double);
73 vtkGetMacro(Tolerance,
double);
80 virtual int LearnAndDerive(vtkMultiBlockDataSet* model, vtkTable* inData);
82 vtkTable* observations, vtkDataObject* dataset, vtkMultiBlockDataSet* model);
93 #endif // vtkPSciVizKMeans_h
virtual int AssessData(vtkTable *observations, vtkDataObject *dataset, vtkMultiBlockDataSet *model)=0
Method subclasses must override to assess an input table given a model of the proper type...
virtual int LearnAndDerive(vtkMultiBlockDataSet *model, vtkTable *inData)=0
Method subclasses must override to calculate a full model from the given input data.
Abstract base class for computing statistics with vtkStatistics.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Find k cluster centers and/or assess the closest center and distance to it for each datum...