snorkel icon indicating copy to clipboard operation
snorkel copied to clipboard

Add snorkel.labeling.filter_unlabeled_rdd utility

Open rjurney opened this issue 5 years ago • 1 comments

Is your feature request related to a problem? Please describe.

I love snorkel.labeling.filter_unlabeled_dataframe(). I want a pyspark equivalent: snorkel.labeling.filter_unlabeled_spark_rdd or snorkel.labeling.filter_unlabeled_spark_dataframe.

Describe the solution you'd like

Implement the same filtering for pyspark.sql.DataFrames or pyspark.RDDs.

Describe alternatives you've considered

I am just implementing this myself at the moment. I don't see an alternative to this function.

Additional context

The numpy.ndarray in for example L_train returned by SparkLFApplier may have to be serialized into something else so Spark can use it. SparkLFApplier could then optionally return this format, if it makes that easier.

rjurney avatar Dec 12 '19 23:12 rjurney

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jan 12 '20 12:01 github-actions[bot]