Modifier and Type | Method and Description |
---|---|
Map<Param<?>,Object> |
GraphModel.getParamMap() |
Map<Param<?>,Object> |
Graph.getParamMap() |
Map<Param<?>,Object> |
PipelineModel.getParamMap() |
Map<Param<?>,Object> |
Pipeline.getParamMap() |
Modifier and Type | Field and Description |
---|---|
static Param<Integer> |
KnnModelParams.K |
Modifier and Type | Method and Description |
---|---|
Map<Param<?>,Object> |
KnnModel.getParamMap() |
Map<Param<?>,Object> |
Knn.getParamMap() |
Modifier and Type | Method and Description |
---|---|
Map<Param<?>,Object> |
LogisticRegressionModel.getParamMap() |
Map<Param<?>,Object> |
LogisticRegression.getParamMap() |
Modifier and Type | Field and Description |
---|---|
static Param<String> |
NaiveBayesModelParams.MODEL_TYPE |
static Param<Double> |
NaiveBayesParams.SMOOTHING |
Modifier and Type | Method and Description |
---|---|
Map<Param<?>,Object> |
NaiveBayesModel.getParamMap() |
Map<Param<?>,Object> |
NaiveBayes.getParamMap() |
Modifier and Type | Field and Description |
---|---|
static Param<String> |
KMeansParams.INIT_MODE |
static Param<Integer> |
KMeansModelParams.K |
Modifier and Type | Method and Description |
---|---|
Map<Param<?>,Object> |
KMeansModel.getParamMap() |
Map<Param<?>,Object> |
KMeans.getParamMap() |
Modifier and Type | Field and Description |
---|---|
static Param<String> |
HasDistanceMeasure.DISTANCE_MEASURE |
static Param<String> |
HasFeaturesCol.FEATURES_COL |
static Param<Integer> |
HasGlobalBatchSize.GLOBAL_BATCH_SIZE |
static Param<String> |
HasHandleInvalid.HANDLE_INVALID |
static Param<String[]> |
HasInputCols.INPUT_COLS |
static Param<String> |
HasLabelCol.LABEL_COL |
static Param<Double> |
HasLearningRate.LEARNING_RATE |
static Param<Integer> |
HasMaxIter.MAX_ITER |
static Param<String> |
HasMultiClass.MULTI_CLASS |
static Param<String[]> |
HasOutputCols.OUTPUT_COLS |
static Param<String> |
HasPredictionCol.PREDICTION_COL |
static Param<String> |
HasRawPredictionCol.RAW_PREDICTION_COL |
static Param<Double> |
HasReg.REG |
static Param<Long> |
HasSeed.SEED |
static Param<Double> |
HasTol.TOL |
static Param<String> |
HasWeightCol.WEIGHT_COL |
Modifier and Type | Field and Description |
---|---|
static Param<Boolean> |
OneHotEncoderParams.DROP_LAST |
Modifier and Type | Method and Description |
---|---|
Map<Param<?>,Object> |
OneHotEncoder.getParamMap() |
Map<Param<?>,Object> |
OneHotEncoderModel.getParamMap() |
Modifier and Type | Class and Description |
---|---|
class |
BooleanParam
Class for the boolean parameter.
|
class |
DoubleArrayParam
Class for the double array parameter.
|
class |
DoubleParam
Class for the double parameter.
|
class |
FloatArrayParam
Class for the float array parameter.
|
class |
FloatParam
Class for the float parameter.
|
class |
IntArrayParam
Class for the integer array parameter.
|
class |
IntParam
Class for the integer parameter.
|
class |
LongArrayParam
Class for the long array parameter.
|
class |
LongParam
Class for the long parameter.
|
class |
StringArrayParam
Class for the string array parameter.
|
class |
StringParam
Class for the string parameter.
|
Modifier and Type | Method and Description |
---|---|
default <V> Param<V> |
WithParams.getParam(String name)
Gets the parameter by its name.
|
Modifier and Type | Method and Description |
---|---|
Map<Param<?>,Object> |
WithParams.getParamMap()
Returns a map which should contain value for every parameter that meets one of the following
conditions.
|
Modifier and Type | Method and Description |
---|---|
default <V> V |
WithParams.get(Param<V> param)
Gets the value of the parameter.
|
default <V> T |
WithParams.set(Param<V> param,
V value)
Sets the value of the parameter.
|
Modifier and Type | Method and Description |
---|---|
static List<Param<?>> |
ParamUtils.getPublicFinalParamFields(Object object)
Finds all public final fields of the Param class type of the given object, including those
fields inherited from its interfaces and super-classes, and returns those Param instances as
a list.
|
Modifier and Type | Method and Description |
---|---|
static <T> void |
ReadWriteUtils.setParam(Stage<?> stage,
Param<T> param,
Object value) |
Modifier and Type | Method and Description |
---|---|
static void |
ParamUtils.initializeMapWithDefaultValues(Map<Param<?>,Object> paramMap,
WithParams<?> instance)
Updates the paramMap with default values of all public final Param-typed fields of the given
instance.
|
static void |
ReadWriteUtils.updateExistingParams(Stage<?> stage,
Map<Param<?>,Object> paramOverrides) |
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.