hex.schemas.PCAV3 Maven / Gradle / Ivy
package hex.schemas;
import hex.DataInfo;
import hex.pca.PCA;
import hex.pca.PCAModel.PCAParameters;
import water.Key;
import water.api.API;
import water.api.KeyV3;
import water.api.ModelParametersSchema;
public class PCAV3 extends ModelBuilderSchema {
public static final class PCAParametersV3 extends ModelParametersSchema {
static public String[] own_fields = new String[] { "transform", "k", "max_iterations", "seed", "loading_name", "use_all_factor_levels" };
@API(help = "Transformation of training data", values = { "NONE", "STANDARDIZE", "NORMALIZE", "DEMEAN", "DESCALE" }) // TODO: pull out of enum class
public DataInfo.TransformType transform;
@API(help = "Rank of matrix approximation", required = true, direction = API.Direction.INOUT)
public int k;
@API(help = "Maximum training iterations", direction = API.Direction.INOUT)
public int max_iterations;
@API(help = "RNG seed for initialization", direction = API.Direction.INOUT)
public long seed;
@API(help = "Frame key to save resulting X", direction = API.Direction.INPUT)
public String loading_name;
@API(help = "Whether first factor level is included in each categorical expansion", direction = API.Direction.INOUT)
public boolean use_all_factor_levels;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy