/usr/include/paraview/vtkPSciVizContingencyStats.h is in paraview-dev 5.0.1+dfsg1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | /*=========================================================================
Program: ParaView
Module: vtkPSciVizContingencyStats.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkPSciVizContingencyStats - Derive contingency tables and use them to assess the likelihood of associations.
// .SECTION Description
// This filter either computes a statistical model of
// a dataset or takes such a model as its second input.
// Then, the model (however it is obtained) may
// optionally be used to assess the input dataset.
//
// This filter computes contingency tables between pairs of attributes.
// This result is a tabular bivariate probability distribution
// which serves as a Bayesian-style prior model.
// Data is assessed by computing
// <ul>
// <li> the probability of observing both variables simultaneously;
// <li> the probability of each variable conditioned on the other
// (the two values need not be identical); and
// <li> the pointwise mutual information (PMI).
// </ul>
// Finally, the summary statistics include the information entropy
// of the observations.
#ifndef vtkPSciVizContingencyStats_h
#define vtkPSciVizContingencyStats_h
#include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
#include "vtkSciVizStatistics.h"
class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkPSciVizContingencyStats : public vtkSciVizStatistics
{
public:
static vtkPSciVizContingencyStats* New();
vtkTypeMacro(vtkPSciVizContingencyStats,vtkSciVizStatistics);
virtual void PrintSelf( ostream& os, vtkIndent indent );
protected:
vtkPSciVizContingencyStats();
virtual ~vtkPSciVizContingencyStats();
virtual int LearnAndDerive( vtkMultiBlockDataSet* model, vtkTable* inData );
virtual int AssessData( vtkTable* observations, vtkDataObject* dataset, vtkMultiBlockDataSet* model );
private:
vtkPSciVizContingencyStats( const vtkPSciVizContingencyStats& ); // Not implemented.
void operator = ( const vtkPSciVizContingencyStats& ); // Not implemented.
};
#endif // vtkPSciVizContingencyStats_h
|