Skip to main content

%DeepSee.extensions.utils.LDA

persistent class %DeepSee.extensions.utils.LDA extends %Library.Persistent, %DeepSee.extensions.BlackBox

SQL Table Name: %DeepSee_extensions_utils.LDA

This code serves for calculating a linear discriminant analysis (LDA)

Property Inventory

Method Inventory

Properties

property Confusion [ MultiDimensional ];
Property methods: ConfusionDisplayToLogical(), ConfusionGet(), ConfusionIsValid(), ConfusionLogicalToDisplay(), ConfusionLogicalToOdbc(), ConfusionNormalize(), ConfusionSet()
property Dim as %Integer;
Property methods: DimDisplayToLogical(), DimGet(), DimGetStored(), DimIsValid(), DimLogicalToDisplay(), DimNormalize(), DimSet()
property GroupMean as %Double [ MultiDimensional ];
Property methods: GroupMeanDisplayToLogical(), GroupMeanGet(), GroupMeanIsValid(), GroupMeanLogicalToDisplay(), GroupMeanNormalize(), GroupMeanOdbcToLogical(), GroupMeanSet()
property Groups [ MultiDimensional ];
Property methods: GroupsDisplayToLogical(), GroupsGet(), GroupsIsValid(), GroupsLogicalToDisplay(), GroupsLogicalToOdbc(), GroupsNormalize(), GroupsSet()
property NGroups as %Integer;
Property methods: NGroupsDisplayToLogical(), NGroupsGet(), NGroupsGetStored(), NGroupsIsValid(), NGroupsLogicalToDisplay(), NGroupsNormalize(), NGroupsSet()
property Name as %String (MAXLEN = 256) [ Required ];
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property PooledInverseCovariance as %Double [ MultiDimensional ];
Property methods: PooledInverseCovarianceDisplayToLogical(), PooledInverseCovarianceGet(), PooledInverseCovarianceIsValid(), PooledInverseCovarianceLogicalToDisplay(), PooledInverseCovarianceNormalize(), PooledInverseCovarianceOdbcToLogical(), PooledInverseCovarianceSet()
property Probability as %Double [ MultiDimensional ];
Property methods: ProbabilityDisplayToLogical(), ProbabilityGet(), ProbabilityIsValid(), ProbabilityLogicalToDisplay(), ProbabilityNormalize(), ProbabilityOdbcToLogical(), ProbabilitySet()
property UseMahalanobisDistance as %Boolean [ InitialExpression = 0 ];
Property methods: UseMahalanobisDistanceDisplayToLogical(), UseMahalanobisDistanceGet(), UseMahalanobisDistanceGetStored(), UseMahalanobisDistanceIsValid(), UseMahalanobisDistanceLogicalToDisplay(), UseMahalanobisDistanceNormalize(), UseMahalanobisDistanceSet()

Methods

method Create(N As %Integer, M As %Integer, ByRef data As %Double, ByRef groups As %Integer, p As %Boolean) as %Status
method GetDF(ByRef x, Output fv, verobse As %Boolean = 1) as %Status
method GetMahalanobisDistance(ByRef x, Output fv, verobse As %Boolean = 0) as %Status
method GetMajorContributors(targetPos As %String, targetNeg As %String, margin As %Double, Output listPos As %List, Output listNeg As %List) as %Status
classmethod Test()
method getConfusionMatrixForTestSet(rs As %ResultSet, i1 As %Integer, dim As %Integer, Output C, Output r As %Double) as %Status
method getCovector(target As %String, Output V) as %Status
method getSensitivity(g, Output sc As %Status, ByRef confusion="") as %Double
method getSpecificity(g, Output sc As %Status, ByRef confusion="") as %Double
method predict(ByRef x, Output sc As %Status, Output maxf As %Double, Output f) as %String
method printConfusionMatrix(ByRef confusion="") as %Status

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (NameIdx on Name) [PrimaryKey, Unique];
Index methods: NameIdxCheck(), NameIdxCheckUnique(), NameIdxDelete(), NameIdxExists(), NameIdxOpen(), NameIdxSQLCheckUnique(), NameIdxSQLExists(), NameIdxSQLFindPKeyByConstraint(), NameIdxSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (%DeepSee.extensions.utils.LDA)

^IRIS.Temp.DSII.Ext.LDA.D(ID)
=
%%CLASSNAME
Name
NGroups
Dim
UseMahalanobisDistance
FeedbackOpens in a new tab