Skip to main content

%DeepSee.extensions.clusters.DissimilarityModel

Class %DeepSee.extensions.clusters.DissimilarityModel Extends AbstractModel [ System = 4 ]

Properties

LinkageType

Property LinkageType As %EnumString(VALUELIST = ",single,complete,average");

State

Property State [ MultiDimensional ];

MinSize

Property MinSize As %Integer [ InitialExpression = 0 ];

Outliers

Property Outliers As %Integer;

ConstructHierarchy

Property ConstructHierarchy As %Boolean [ InitialExpression = 0 ];

NewickTree

Property NewickTree As %String;

Hierarchy Tree in Newick Format

Tree

Property Tree As %String [ MultiDimensional ];

Mapper

Property Mapper As %RegisteredObject;

Methods

New

ClassMethod New(dsName As %String, type As %EnumString, Output sc As %Status) As DissimilarityModel

Open

ClassMethod Open(dsName As %String, type As %EnumString, Output sc As %Status) As DissimilarityModel

Create

ClassMethod Create(dsName As %String, type As %EnumString, new As %Boolean, Output sc As %Status) As DissimilarityModel [ Private ]

SetCost

Method SetCost(costCalculator As %RegisteredObject = "") As %Status

IsPrepared

Method IsPrepared() As %Boolean

GetClusterDissimilarity

Method GetClusterDissimilarity(k1 As %Integer, k2 As %Integer, Output sc As %Status) As %Double

RelativeClusterCost

Method RelativeClusterCost(k As %Integer, m As %Integer, Output sc As %Status) As %Double

Init

Method Init() As %Status

Reduce

Method Reduce() As %Status

GetEffNumCL

Method GetEffNumCL(Output sc As %Status) As %Integer

Save

Method Save() As %Status

Execute

Method Execute(K As %Integer) As %Status

TotalCost

Method TotalCost()

SetSampleData

Method SetSampleData(list As %List) As %Status

Test

ClassMethod Test(N As %Integer, K As %Integer, type As %String, hier As %Boolean = 0, slist As %String = "") As %Status