public class GLMUtils
extends java.lang.Object
| Constructor and Description |
|---|
GLMUtils() |
| Modifier and Type | Method and Description |
|---|---|
static double |
calSmoothNess(double[][] beta,
double[][][] penaltyMatrix,
int[][] gamColIndices) |
static double |
calSmoothNess(double[] beta,
double[][][] penaltyMatrix,
int[][] gamColIndices) |
static int[][] |
extractAdaptedFrameIndices(water.fvec.Frame adaptFrame,
java.lang.String[][] gamColnames,
int numOffset)
From the gamColnames, this method attempts to translate to the column indices in adaptFrame.
|
static void |
updateGradGam(double[] gradient,
double[][][] penalty_mat,
int[][] gamBetaIndices,
double[] beta,
int[] activeCols) |
static void |
updateGradGamMultinomial(double[][] gradient,
double[][][] penaltyMat,
int[][] gamBetaIndices,
double[][] beta) |
public static int[][] extractAdaptedFrameIndices(water.fvec.Frame adaptFrame,
java.lang.String[][] gamColnames,
int numOffset)
adaptFrame - gamColnames - public static void updateGradGam(double[] gradient,
double[][][] penalty_mat,
int[][] gamBetaIndices,
double[] beta,
int[] activeCols)
public static void updateGradGamMultinomial(double[][] gradient,
double[][][] penaltyMat,
int[][] gamBetaIndices,
double[][] beta)
public static double calSmoothNess(double[] beta,
double[][][] penaltyMatrix,
int[][] gamColIndices)
public static double calSmoothNess(double[][] beta,
double[][][] penaltyMatrix,
int[][] gamColIndices)
beta - multinomial number of class by number of predictorspenaltyMatrix - gamColIndices -