Interface IInstanceNormCalc
- All Known Subinterfaces:
DotProduct
- All Known Implementing Classes:
DotProductEuclidean
public interface IInstanceNormCalc
-
Method Summary
-
Method Details
-
norm
Calculates the norm of the instance. Only numeric attributes are used.- Parameters:
vec
-- Returns:
- vector/instance norm
- Throws:
Exception
- Since:
- 1.4.0
-
normalize
Returns normalized instance. Only numeric attributes are normalized. If the norm of the vector is 0, then the vector is not normalized.- Parameters:
inst
- -- instance to normalize- Returns:
- Throws:
Exception
- Since:
- 1.4.0
-