Timer¶
-
class
Timer.
Timer
(disableMaterialization=True, logToScala=True, stage=None)[source]¶ Bases:
mmlspark.Utils.ComplexParamsMixin
,pyspark.ml.util.JavaMLReadable
,pyspark.ml.util.JavaMLWritable
,pyspark.ml.wrapper.JavaEstimator
Parameters: -
getDisableMaterialization
()[source]¶ Returns: Whether to disable timing (so that one can turn it off for evaluation) (default: true) Return type: bool
-
getLogToScala
()[source]¶ Returns: Whether to output the time to the scala console (default: true) Return type: bool
-
setDisableMaterialization
(value)[source]¶ Parameters: disableMaterialization (bool) – Whether to disable timing (so that one can turn it off for evaluation) (default: true)
-
setLogToScala
(value)[source]¶ Parameters: logToScala (bool) – Whether to output the time to the scala console (default: true)
-