evaluate point density
Density
01 Syntax
Microsoft.VisualBasic.DataMining.Clustering.Density
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetDensity | 2 | |
| GetDensity | 2 | 密度为到k个最近邻的平均距离的倒数。如果该距离小,则密度高 |
03 Members
GetDensity(
IEnumerable(Of ClusterEntity), Int32, IQueryDensity(Of ClusterEntity))密度为到k个最近邻的平均距离的倒数。如果该距离小,则密度高
Parameters
| Name | Type | Description |
|---|---|---|
dataset | IEnumerable(Of ClusterEntity) | - |
k | Int32 | - |
Returns
a collection of tuple [id -> density]. the larger of the result value, the higher density value it is
GetDensity``1(
IEnumerable(Of ``0), Func(Of ``0, ``0, Double), Int32)密度为到k个最近邻的平均距离的倒数。如果该距离小,则密度高
Parameters
| Name | Type | Description |
|---|---|---|
dataset | IEnumerable(Of ``0) | - |
k | Func(Of ``0, ``0, Double) | - |
Returns
a collection of tuple [id -> density]. the larger of the result value, the higher density value it is
GetDensity``1(
IQueryDensity(Of ``0), Int32)密度为到k个最近邻的平均距离的倒数。如果该距离小,则密度高
Parameters
| Name | Type | Description |
|---|---|---|
k | IQueryDensity(Of ``0) | - |
Returns
a collection of tuple [id -> density]. the larger of the result value, the higher density value it is
GetDensity(
IQueryDensity(Of T), Int32)