public interface AFTSurvivalRegressionParams extends Params, HasFeaturesCol, HasLabelCol, HasPredictionCol, HasMaxIter, HasTol, HasFitIntercept, HasAggregationDepth, Logging
Modifier and Type | Method and Description |
---|---|
Param<String> |
censorCol()
Param for censor column name.
|
String |
getCensorCol() |
double[] |
getQuantileProbabilities() |
String |
getQuantilesCol() |
boolean |
hasQuantilesCol()
Checks whether the input has quantiles column name.
|
DoubleArrayParam |
quantileProbabilities()
Param for quantile probabilities array.
|
Param<String> |
quantilesCol()
Param for quantiles column name.
|
StructType |
validateAndTransformSchema(StructType schema,
boolean fitting)
Validates and transforms the input schema with the provided param map.
|
featuresCol, getFeaturesCol
getLabelCol, labelCol
getPredictionCol, predictionCol
getMaxIter, maxIter
fitIntercept, getFitIntercept
aggregationDepth, getAggregationDepth
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString, uid
initializeLogging, initializeLogIfNecessary, initializeLogIfNecessary, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
Param<String> censorCol()
String getCensorCol()
double[] getQuantileProbabilities()
String getQuantilesCol()
boolean hasQuantilesCol()
DoubleArrayParam quantileProbabilities()
Param<String> quantilesCol()
StructType validateAndTransformSchema(StructType schema, boolean fitting)
schema
- input schemafitting
- whether this is in fitting or prediction