Snorkel Labeling PackageΒΆ

Programmatic data set labeling: LF creation, models, and analysis utilities.

apply.dask.DaskLFApplier

LF applier for a Dask DataFrame.

LFAnalysis

Run analyses on LFs using label matrix.

LFApplier

LF applier for a list of data points (e.g.

model.label_model.LabelModel

A model for learning the LF accuracies and combining their output labels.

LabelingFunction

Base class for labeling functions.

model.baselines.MajorityClassVoter

Majority class label model.

model.baselines.MajorityLabelVoter

Majority vote label model.

lf.nlp.NLPLabelingFunction

Special labeling function type for spaCy-based LFs.

PandasLFApplier

LF applier for a Pandas DataFrame.

apply.dask.PandasParallelLFApplier

Parallel LF applier for a Pandas DataFrame.

model.baselines.RandomVoter

Random vote label model.

apply.spark.SparkLFApplier

LF applier for a Spark RDD.

lf.nlp_spark.SparkNLPLabelingFunction

Special labeling function type for SpaCy-based LFs running on Spark.

filter_unlabeled_dataframe

Filter out examples not covered by any labeling function.

labeling_function

Decorator to define a LabelingFunction object from a function.

lf.nlp.nlp_labeling_function

Decorator to define an NLPLabelingFunction object from a function.

lf.nlp_spark.spark_nlp_labeling_function

Decorator to define a SparkNLPLabelingFunction object from a function.