Computes the results of the DBSCAN algorithm in the batch processing mode.
More...
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::dbscan::interface1::Batch< algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations of DBSCAN, double or float |
method | Computation method of the algorithm, Method |
- Enumerations
- Method Computation methods for the DBSCAN algorithm
- InputId Identifiers of input objects for the DBSCAN algorithm
- ResultId Identifiers of results of the DBSCAN algorithm
Batch |
( |
algorithmFPType |
epsilon, |
|
|
size_t |
minObservations |
|
) |
| |
Main constructor
- Parameters
-
[in] | epsilon | Radius of neighborhood |
[in] | minObservations | Minimal total weight of observations in neighborhood of core observation |
Batch |
( |
const Batch< algorithmFPType, method > & |
other | ) |
|
Constructs a DBSCAN algorithm by copying input objects and parameters of another DBSCAN algorithm
- Parameters
-
[in] | other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
services::SharedPtr<Batch<algorithmFPType, method> > clone |
( |
| ) |
const |
|
inline |
Returns a pointer to the newly allocated DBSCAN algorithm with a copy of input objects and parameters of this DBSCAN algorithm
- Returns
- Pointer to the newly allocated algorithm
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns the method of the algorithm
- Returns
- Method of the algorithm
Returns the structure that contains the results of the DBSCAN algorithm
- Returns
- Structure that contains the results of the DBSCAN algorithm
ParameterType& parameter |
( |
| ) |
|
|
inline |
Gets parameter of the algorithm
- Returns
- parameter of the algorithm
const ParameterType& parameter |
( |
| ) |
const |
|
inline |
Gets parameter of the algorithm
- Returns
- parameter of the algorithm
services::Status setResult |
( |
const ResultPtr & |
result | ) |
|
|
inline |
Registers user-allocated memory to store the results of the DBSCAN algorithm
- Parameters
-
[in] | result | Structure to store the results of the DBSCAN algorithm |
The documentation for this class was generated from the following file: