|
VPTreeFromData Method (Double, Boolean)
|
Creates a new vantage-point tree from the given points.
Namespace:
Accord.Collections
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public static VPTree FromData(
double[][] points,
bool inPlace = false
)
Public Shared Function FromData (
points As Double()(),
Optional inPlace As Boolean = false
) As VPTree
Request Example
View SourceParameters
- points
- Type: SystemDouble
The points to be added to the tree. - inPlace (Optional)
- Type: SystemBoolean
Whether to perform operations in place, altering the
original array of points instead of creating an extra copy.
Return Value
Type:
VPTreeA
VPTree populated with the given data points.
See Also