A tagged numeric vector
ClusterEntity
00 Remarks
uid -- feature_vector
(计算所使用的对象实例实体模型)
01 Syntax
Microsoft.VisualBasic.DataMining.ComponentModel.EntityModels.ClusterEntity
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | Create a new entity point data |
| ToDataModel | 2 | 使用index序列编号来作为属性名称 |
| Equals | 1 | check all vector elements equals to another |
| op_Equality | 1 | 值相等判断 |
| op_Explicit | 2 | get data vector EntityBase.entityVector. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| uid | 1 | the unique reference id of current entity object |
| cluster | 1 | the cluster class label |
| entityVector | 1 | the point data vector |
04 Members
#ctor(
String, Double())Create a new entity point data
Parameters
| Name | Type | Description |
|---|---|---|
id | String | - |
data | Double() | - |
ToDataModel
使用index序列编号来作为属性名称
ToDataModel(
String())Parameters
| Name | Type | Description |
|---|---|---|
maps | String() | 名称字符串向量应该是和EntityBase.entityVector属性向量等长的 |
Equals(ClusterEntity)
check all vector elements equals to another
Parameters
| Name | Type | Description |
|---|---|---|
another | ClusterEntity | - |
op_Equality(ClusterEntity, ClusterEntity)
值相等判断
Parameters
| Name | Type | Description |
|---|---|---|
a | ClusterEntity | - |
b | ClusterEntity | - |
op_Explicit(ClusterEntity)
get the class label of current point
Parameters
| Name | Type | Description |
|---|---|---|
c | ClusterEntity | - |
op_Explicit(ClusterEntity)
get data vector EntityBase.entityVector.
Parameters
| Name | Type | Description |
|---|---|---|
c | ClusterEntity | - |
uid
the unique reference id of current entity object
cluster
the cluster class label
entityVector
the point data vector