code: def _from_java_impl(cls, java_stage):
          
  
          # Load information from java_stage to the instance.
          estimator = JavaParams._from_java(java_stage.getEstimator())
          evaluator = JavaParams._from_java(java_stage.getEvaluator())
          epms = [estimator._transfer_param_map_from_java(epm)
                  for epm in java_stage.getEstimatorParamMaps()]
          return estimator, epms, evaluator
docs: Return Python estimator, estimatorParamMaps, and evaluator from a Java ValidatorParams.