-
Notifications
You must be signed in to change notification settings - Fork 858
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor import paths * Reduce a few more paths * RTD improvements (#1359) * RTD improvements * Add package source files * Update reqs * Update build * Update packages * Fix slicing import name
- Loading branch information
Showing
72 changed files
with
462 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"packages": [ | ||
"analysis", | ||
"augmentation", | ||
"classification", | ||
"labeling", | ||
"map", | ||
"preprocess", | ||
"slicing", | ||
"utils" | ||
], | ||
"extra_members": { | ||
"labeling": [ | ||
"apply.dask.DaskLFApplier", | ||
"apply.dask.PandasParallelLFApplier", | ||
"apply.spark.SparkLFApplier", | ||
"lf.nlp.NLPLabelingFunction", | ||
"lf.nlp.nlp_labeling_function" | ||
], | ||
"map": [ | ||
"spark.make_spark_mapper" | ||
], | ||
"preprocess": [ | ||
"nlp.SpacyPreprocessor", | ||
"spark.make_spark_preprocessor" | ||
], | ||
"slicing": [ | ||
"apply.dask.DaskSFApplier", | ||
"apply.dask.PandasParallelSFApplier", | ||
"apply.spark.SparkSFApplier" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Snorkel Analysis Package | ||
------------------------ | ||
|
||
Generic model analysis utilities shared across Snorkel. | ||
|
||
.. currentmodule:: snorkel.analysis | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary/analysis/ | ||
:nosignatures: | ||
|
||
get_label_buckets | ||
metric_score |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Snorkel Augmentation Package | ||
---------------------------- | ||
|
||
Programmatic data set augmentation: TF creation and data generation utilities. | ||
|
||
.. currentmodule:: snorkel.augmentation | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary/augmentation/ | ||
:nosignatures: | ||
|
||
ApplyAllPolicy | ||
ApplyEachPolicy | ||
ApplyOnePolicy | ||
MeanFieldPolicy | ||
PandasTFApplier | ||
RandomPolicy | ||
TFApplier | ||
TransformationFunction | ||
transformation_function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Snorkel Classification Package | ||
------------------------------ | ||
|
||
PyTorch-based multi-task learning framework for Snorkel-generated datasets. | ||
|
||
.. currentmodule:: snorkel.classification | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary/classification/ | ||
:nosignatures: | ||
|
||
Checkpointer | ||
CheckpointerConfig | ||
DictDataLoader | ||
DictDataset | ||
LogManager | ||
LogManagerConfig | ||
LogWriter | ||
LogWriterConfig | ||
Operation | ||
Scorer | ||
SnorkelClassifier | ||
Task | ||
TensorBoardWriter | ||
Trainer | ||
ce_loss | ||
softmax |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Snorkel Labeling Package | ||
------------------------ | ||
|
||
Programmatic data set labeling: LF creation, models, and analysis utilities. | ||
|
||
.. currentmodule:: snorkel.labeling | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary/labeling/ | ||
:nosignatures: | ||
|
||
apply.dask.DaskLFApplier | ||
LFAnalysis | ||
LFApplier | ||
LabelModel | ||
LabelingFunction | ||
MajorityClassVoter | ||
MajorityLabelVoter | ||
lf.nlp.NLPLabelingFunction | ||
PandasLFApplier | ||
apply.dask.PandasParallelLFApplier | ||
RandomVoter | ||
apply.spark.SparkLFApplier | ||
filter_unlabeled_dataframe | ||
labeling_function | ||
lf.nlp.nlp_labeling_function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Snorkel Map Package | ||
------------------- | ||
|
||
Generic utilities for data point to data point operations. | ||
|
||
.. currentmodule:: snorkel.map | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary/map/ | ||
:nosignatures: | ||
|
||
BaseMapper | ||
LambdaMapper | ||
Mapper | ||
lambda_mapper | ||
spark.make_spark_mapper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Snorkel Preprocess Package | ||
-------------------------- | ||
|
||
Preprocessors for LFs, TFs, and SFs. | ||
|
||
.. currentmodule:: snorkel.preprocess | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary/preprocess/ | ||
:nosignatures: | ||
|
||
BasePreprocessor | ||
LambdaPreprocessor | ||
Preprocessor | ||
nlp.SpacyPreprocessor | ||
spark.make_spark_preprocessor | ||
preprocessor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Snorkel Slicing Package | ||
----------------------- | ||
|
||
Programmatic data set slicing: SF creation, models, and monitoring utilities. | ||
|
||
.. currentmodule:: snorkel.slicing | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary/slicing/ | ||
:nosignatures: | ||
|
||
apply.dask.DaskSFApplier | ||
apply.dask.PandasParallelSFApplier | ||
PandasSFApplier | ||
SFApplier | ||
SliceCombinerModule | ||
SlicingFunction | ||
apply.spark.SparkSFApplier | ||
add_slice_labels | ||
convert_to_slice_tasks | ||
slicing_function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Snorkel Utils Package | ||
--------------------- | ||
|
||
None | ||
|
||
.. currentmodule:: snorkel.utils | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary/utils/ | ||
:nosignatures: | ||
|
||
filter_labels | ||
preds_to_probs | ||
probs_to_preds | ||
set_seed | ||
to_int_label_array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
sphinx==1.8.5 | ||
sphinx_autodoc_typehints==1.6.0 | ||
sphinx==2.1.2 | ||
sphinx_autodoc_typehints==1.7.0 | ||
sphinx_rtd_theme==0.4.3 | ||
https://download.pytorch.org/whl/cpu/torch-1.1.0-cp36-cp36m-linux_x86_64.whl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.