snorkelflow.client.lfs.execute_lfs
warning
This is a beta function in 25.4. Beta features may have known gaps or bugs, but are functional workflows and eligible for Snorkel Support. To access beta features, contact Snorkel Support to enable the feature flag for your Snorkel-hosted instance.
- snorkelflow.client.lfs.execute_lfs(node_uid, pkg_uid, df)
Given a package_uid, node_uid and a df => retrieve the LFs from the package and run it over the data in the df
Parameters
Parameters
Returns
Returns
Dataframe with an additional column containing LF vote for each LF
Return type
Return type
pd.DataFrame
Name Type Default Info node_uid int
UID of the node at which LFs are packaged. pkg_uid int
UID of the LF package whose LFs are applied to a dataframe. df DataFrame
Dataframe LFs are applied over.