snorkelflow.client.lfs.execute_lfs
- 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.