Home > Class Reference > %SYS namespace > %DeepSee.extensions.utils.LDA

%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)

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(), NameIdxCheck(), NameIdxCheckUnique(), NameIdxDelete(), NameIdxExists(), NameIdxOpen(), NameIdxSQLCheckUnique(), NameIdxSQLExists(), NameIdxSQLFindPKeyByConstraint(), NameIdxSQLFindRowIDByConstraint(), 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 [ Language = objectscript ]
method GetDF(ByRef x, Output fv, verobse As %Boolean = 1) as %Status [ Language = objectscript ]
method GetMahalanobisDistance(ByRef x, Output fv, verobse As %Boolean = 0) as %Status [ Language = objectscript ]
method GetMajorContributors(targetPos As %String, targetNeg As %String, margin As %Double, Output listPos As %List, Output listNeg As %List) as %Status [ Language = objectscript ]
classmethod Test() [ Language = objectscript ]
method getConfusionMatrixForTestSet(rs As %ResultSet, i1 As %Integer, dim As %Integer, Output C, Output r As %Double) as %Status [ Language = objectscript ]
method getCovector(target As %String, Output V) as %Status [ Language = objectscript ]
method getSensitivity(g, Output sc As %Status, ByRef confusion="") as %Double [ Language = objectscript ]
method getSpecificity(g, Output sc As %Status, ByRef confusion="") as %Double [ Language = objectscript ]
method predict(ByRef x, Output sc As %Status, Output maxf As %Double, Output f) as %String [ Language = objectscript ]
method printConfusionMatrix(ByRef confusion="") as %Status [ Language = objectscript ]

Inherited Methods

%AddToSaveSet() %GUID() %OriginalNamespace()
%AddToSyncSet() %GUIDSet() %PackageName()
%BMEBuilt() %GetLock() %PhysicalAddress()
%BuildIndicesAsync() %GetParameter() %PurgeIndices()
%BuildIndicesAsyncResponse() %GetSwizzleObject() %Reload()
%CheckConstraints() %Id() %RemoveFromSaveSet()
%CheckConstraintsForExtent() %InsertBatch() %ResolveConcurrencyConflict()
%ClassIsLatestVersion() %IsA() %RollBack()
%ClassName() %IsModified() %Save()
%ComposeOid() %IsNull() %SaveDirect()
%ConstructClone() %KillExtent() %SaveIndices()
%Delete() %KillExtentData() %SerializeObject()
%DeleteExtent() %LoadFromMemory() %SetModified()
%DeleteId() %LockExtent() %SortBegin()
%DispatchClassMethod() %LockId() %SortEnd()
%DispatchGetModified() %New() %SyncObjectIn()
%DispatchGetProperty() %NormalizeObject() %SyncTransport()
%DispatchMethod() %ObjectIsNull() %UnlockExtent()
%DispatchSetModified() %ObjectModified() %UnlockId()
%DispatchSetMultidimProperty() %Oid() %ValidateIndices()
%DispatchSetProperty() %OnBeforeAddToSync() %ValidateObject()
%Exists() %OnDetermineClass() %ValidateTable()
%ExistsId() %Open() GetClassDef()
%Extends() %OpenId() GetDataLocation()

Indexes

index (NameIdx on Name) [PrimaryKey, Unique];
Index methods: NameIdxCheck(), NameIdxCheckUnique(), NameIdxDelete(), NameIdxExists(), NameIdxOpen(), NameIdxSQLCheckUnique(), NameIdxSQLExists(), NameIdxSQLFindPKeyByConstraint(), NameIdxSQLFindRowIDByConstraint()

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