-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ColumnNameLabeler Notebook Example #646
ColumnNameLabeler Notebook Example #646
Conversation
examples/column_name_labeler.ipynb
Outdated
"id": "da0e97ee-8d6d-4631-9b55-78ed904d5f41", | ||
"metadata": {}, | ||
"source": [ | ||
"### Predicting with the regex labeler\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regex
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in next push
examples/column_name_labeler.ipynb
Outdated
"# pre processor \n", | ||
"preprocessor = dp.labelers.data_processing.DirectPassPreprocessor()\n", | ||
"\n", | ||
"# model\n", | ||
"model = dp.labelers.column_name_model.ColumnNameModel(\n", | ||
" parameters=parameters,\n", | ||
" label_mapping=label_mapping,\n", | ||
")\n", | ||
"\n", | ||
"\n", | ||
"# post processor\n", | ||
"postprocessor = dp.labelers.data_processing.ColumnNameModelPostprocessor()" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of manually loading, could we just use a load_from_library
? or at least show that at the top so users know they can use a built-in labeler?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pushing
No description provided.