View source: R/recursive-pipeline.R
nlp_recursive_pipeline | R Documentation |
Recursive pipelines are SparkNLP specific pipelines that allow a Spark ML Pipeline to know about itself on every Pipeline Stage task, allowing annotators to utilize this same pipeline against external resources to process them in the same way the user decides. Only some of our annotators take advantage of this. RecursivePipeline behaves exactly the same than normal Spark ML pipelines, so they can be used with the same intention. See https://nlp.johnsnowlabs.com/docs/en/concepts#recursivepipeline
nlp_recursive_pipeline(x, ..., uid = random_string("recursive_pipeline_"))
x |
Either a |
... |
|
uid |
uid for the pipeline |
When x
is a spark_connection
, ml_pipeline()
returns an empty pipeline object.
When x
is a ml_pipeline_stage
, ml_pipeline()
returns an ml_pipeline
with the stages
set to x
and any transformers or estimators given in ...
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.