public class GamUtilsThinPlateRegression
extends java.lang.Object
Constructor and Description |
---|
GamUtilsThinPlateRegression() |
Modifier and Type | Method and Description |
---|---|
static void |
calculateDistance(double[] rowValues,
double[] chk,
int knotNum,
double[][] knots,
int d,
int m,
boolean dEven,
double constantTerms,
double[] oneOGamColStd,
boolean standardizeGAM) |
static void |
calculatePolynomialBasis(double[] onePolyRow,
double[] oneDataRow,
int d,
int M,
int[][] polyBasisList,
double[] gamColMean,
double[] oneOGamStd,
boolean standardizeGAM) |
static double |
calTPConstantTerm(int m,
int d,
boolean dEven) |
static int |
factorial(int m) |
public static double calTPConstantTerm(int m, int d, boolean dEven)
public static int factorial(int m)
public static void calculateDistance(double[] rowValues, double[] chk, int knotNum, double[][] knots, int d, int m, boolean dEven, double constantTerms, double[] oneOGamColStd, boolean standardizeGAM)
public static void calculatePolynomialBasis(double[] onePolyRow, double[] oneDataRow, int d, int M, int[][] polyBasisList, double[] gamColMean, double[] oneOGamStd, boolean standardizeGAM)