Function calcHypLocus(const std::string&, int, double)
Defined in File hyperLocus.h
Function Documentation
-
std::vector<std::vector<double>> calcHypLocus(const std::string &dataFileWeights, int nbQuantLevels, double hiKnot)
Calculates the hyperlocus matrix containing all possible hyperplanes in the feature space that discriminate between different classes of samples, based on the weights training file.
This function calculates the positions of the hyperplanes using the number of quantization levels, the size of the interval, the bias and the weights, and then stores these positions in the hyperlocus matrix.
- Parameters:
dataFileWeights – Path to the file containing the weights.
nbQuantLevels – Number of quantization levels.
hiKnot – Upper bound of the interval.
- Returns:
Matrix representing the hyperlocus.