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.

LabelModel

A conditionally independent LabelModel to learn LF weights and assign training labels.

LabelingFunction

Base class for labeling functions.

MajorityClassVoter

Majority class label model.

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.

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.