Skip to content
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

Merged
merged 7 commits into from
Sep 20, 2022
Merged

ColumnNameLabeler Notebook Example #646

merged 7 commits into from
Sep 20, 2022

Conversation

taylorfturner
Copy link
Contributor

No description provided.

@taylorfturner taylorfturner added Documentation Improvements or additions to documentation High Priority Dramatic improvement, inaccurate calculation(s) or bug / feature making the library unusable labels Sep 20, 2022
@taylorfturner taylorfturner self-assigned this Sep 20, 2022
@taylorfturner taylorfturner added the New Feature A feature addition not currently in the library label Sep 20, 2022
"id": "da0e97ee-8d6d-4631-9b55-78ed904d5f41",
"metadata": {},
"source": [
"### Predicting with the regex labeler\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

regex

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed in next push

Comment on lines 96 to 139
"# 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()"
Copy link
Collaborator

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pushing

@JGSweets JGSweets enabled auto-merge (squash) September 20, 2022 15:50
micdavis
micdavis previously approved these changes Sep 20, 2022
@JGSweets JGSweets merged commit 10665d9 into capitalone:main Sep 20, 2022
@taylorfturner taylorfturner deleted the new_model/notebook_tutorial branch October 3, 2022 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements or additions to documentation High Priority Dramatic improvement, inaccurate calculation(s) or bug / feature making the library unusable New Feature A feature addition not currently in the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants