code: def _fit(self, dataset, pipeline=None):
      java_model = self._fit_java(dataset, pipeline)
      model = self._create_model(java_model)
      return self._copyValues(model)
  
file_path: spark-nlp/python/sparknlp/internal/recursive.py
imports: from abc import ABC
  from pyspark.ml.wrapper import JavaEstimator, JavaModel
  from pyspark.sql import DataFrame
label_desc: Use image node_id 2 for calling the RecursiveEstimator obj's underlying member method code with example usage: obj._fit(dataset, pipeline) and returns: self