Proposals:Refactoring Statistics Framework 2007 New Statistics Framework: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 116: Line 116:
MeanFilter -> WeightedMeanFilter
MeanFilter -> WeightedMeanFilter
CovarianceFilter -> WeightedCovarianceFilter
CovarianceFilter -> WeightedCovarianceFilter
}
</graphviz>
== Classifiers (Suggested Design) ==
<graphviz>
digraph G {
Object [URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Object.html"];
FunctionBase [URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1FunctionBase.html"];
CostFunction [URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1CostFunction.html"];
SingleValuedCostFunction [URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1SingleValuedCostFunction.html"];
MembershipFunctionBase [shape=box, URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Statistics_1_1MembershipFunctionBase.html"];
DensityFunction [shape=box, URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Statistics_1_1DensityFunction.html"];
GaussianDensityFunction [shape=box, URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Statistics_1_1GaussianDensityFunction.html"];
DistanceToCentroidMembershipFunction [shape=box, URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Statistics_1_1DistanceToCentroidMembershipFunction.html"];
MahalanobisDistanceMembershipFunction [shape=box, URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Statistics_1_1DistanceToCentroidMembershipFunction.html"];
GoodnessOfFitFunctionBase [shape=box, URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Statistics_1_1GoodnessOfFitFunctionBase.html"];
GoodnessOfFitComponentBase [shape=box, URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Statistics_1_1GoodnessOfFitComponentBase.html"];
GoodnessOfFitMixtureModelCostFunction [shape=box, URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Statistics_1_1GoodnessOfFitMixtureModelCostFunction.html"];
SampleAlgorithmBase [shape=box, URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Statistics_1_1SampleAlgorithmBase.html"];
LogLikelihoodGoodnessOfFitFunction [shape=box, URL="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Statistics_1_1LogLikelihoodGoodnessOfFitFunction.html"];
DistanceMetrics  [label="Distance Metrics\n see below", URL="http://www.itk.org/Wiki/Proposals:Refactoring_Statistics_Framework_2007_Class_Manifesto#Distance_Metrics_2"];
Object -> FunctionBase
Object -> GoodnessOfFitComponentBase
Object -> CostFunction
Object -> SampleAlgorithmBase
SampleAlgorithmBase -> GoodnessOfFitFunctionBase
FunctionBase -> MembershipFunctionBase
MembershipFunctionBase -> DistanceMetrics
MembershipFunctionBase -> DensityFunction
DensityFunction -> GaussianDensityFunction
MembershipFunctionBase -> MahalanobisDistanceMembershipFunction
MembershipFunctionBase -> DistanceToCentroidMembershipFunction
GoodnessOfFitFunctionBase -> LogLikelihoodGoodnessOfFitFunction
SingleValuedCostFunction -> GoodnessOfFitMixtureModelCostFunction
CostFunction -> SingleValuedCostFunction
}
}
</graphviz>
</graphviz>

Revision as of 20:43, 17 July 2008

Class Manifesto of New Statistics Framework

Summary Table

The classes that integrate the new statistics framework are categorized in the following table


Conceptual Class Number
Traits 1
Data Objects 4
Filters 11
Total 16

List of Classes per Category

Traits



  • MeasurementVectorTraits

Data Objects



  • Sample
  • ListSample
  • Histogram
  • Subsample

Filters

  • SampleToHistogramFilter
  • MeanFilter
  • WeightedMeanFilter
  • CovarianceFilter
  • WeightedCovarianceFilter
  • HistogramToTextureFeaturesFilter
  • ImageToListSampleFilter
  • ScalarImageToCooccurrenceMatrixFilter
  • SampleToSubsampleFilter
  • SampleClassifierFilter
  • NeighborhoodSubsampler

Classifiers (Suggested Design)

Elements

  • MembershipFunctionBase
    • DistanceToCentroidMembershipFunction (plugs in a DistanceMetric)
  • DistanceMetrics
    • Euclidean
    • Mahalanobis
    • 1_1

Filters

  • Sample, Array of Membership Functions --> MembershipSample(sample,labels) == SampleClassifierFilter
  • Sample, Array of Membership Functions --> GoodnessOfFitComponent (sample,weights) == SampleGoodnessOfFitFilter

Class Diagrams

Traits

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Data Objects

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Filters

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Classifiers (Suggested Design)

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.