Class LinearRdDecisionFunction

java.lang.Object

public abstract class LinearRdDecisionFunction
extends RdDecisionFunction
LinearRdDecisionFunction implements the Linear-based Rd Decision Function-Based SVM Functionality for Classification and Regression.

Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • LinearRdDecisionFunction

      public LinearRdDecisionFunction​(RdGeneralizedVector gmvsPredictor, RdNormed rmnsInverseMargin, double[] adblInverseMarginWeight, double dblB) throws java.lang.Exception
      LinearRdDecisionFunction Constructor
      Parameters:
      gmvsPredictor - The R^d Metric Input Predictor Space
      rmnsInverseMargin - The Inverse Margin Weights R^d L2 Space
      adblInverseMarginWeight - Array of Inverse Margin Weights
      dblB - The Offset
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • evaluate

      public double evaluate​(double[] adblX) throws java.lang.Exception
      Description copied from class: RdToR1
      Evaluate for the given Input Variates
      Specified by:
      evaluate in class RdToR1
      Parameters:
      adblX - Array of Input Variates
      Returns:
      The Calculated Value
      Throws:
      java.lang.Exception - Thrown if the Evaluation cannot be done