Cosine distance¶
The Cosine distance is a measure of distance between two non-zero vectors of an inner product space.
Operation |
Computational methods |
|
Mathematical formulation¶
Refer to Developer Guide: Minkowski distance.
Programming Interface¶
All types and functions in this section are declared in the
oneapi::dal::cosine_distance namespace.
Descriptor¶
-
template<typename
Float= float, typenameMethod= method::by_default, typenameTask= task::by_default>
classdescriptor¶ - Template Parameters
Constructors
-
descriptor() = default¶ Creates a new instance of the class with the default property values.