Snorkel Slicing PackageΒΆ

Programmatic data set slicing: SF creation, monitoring utilities, and representation learning for slices.

apply.dask.DaskSFApplier

SF applier for a Dask DataFrame.

sf.nlp.NLPSlicingFunction

Special labeling function type for spaCy-based LFs.

apply.dask.PandasParallelSFApplier

Parallel SF applier for a Pandas DataFrame.

PandasSFApplier

SF applier for a Pandas DataFrame.

SFApplier

SF applier for a list of data points.

SliceAwareClassifier

A slice-aware classifier that supports training + scoring on slice labels.

SliceCombinerModule

A module for combining the weighted representations learned by slices.

SlicingFunction

Base class for slicing functions.

apply.spark.SparkSFApplier

alias of snorkel.labeling.apply.spark.SparkLFApplier

add_slice_labels

Modify a dataloader in-place, adding labels for slice tasks.

convert_to_slice_tasks

Add slice labels to dataloader and creates new slice tasks (including base slice).

sf.nlp.nlp_slicing_function

Decorator to define a NLPSlicingFunction child object from a function.

slice_dataframe

Return a dataframe with examples corresponding to specified SlicingFunction.

slicing_function

Decorator to define a SlicingFunction object from a function.