Title: TypeError: create_sample_data_csv() missing 1 required positional argument: 'file_name' in ml_service/pipelines/diabetes_regression_build_train_pipeline.py", line 62 · Issue #253 · microsoft/MLOpsPython · GitHub
Open Graph Title: TypeError: create_sample_data_csv() missing 1 required positional argument: 'file_name' in ml_service/pipelines/diabetes_regression_build_train_pipeline.py", line 62 · Issue #253 · microsoft/MLOpsPython
X Title: TypeError: create_sample_data_csv() missing 1 required positional argument: 'file_name' in ml_service/pipelines/diabetes_regression_build_train_pipeline.py", line 62 · Issue #253 · microsoft/MLOpsPython
Description: In "Publish Azure Machine Learning Pipeline" of "Model CI Pipeline" I got the TypeError: create_sample_data_csv() missing 1 required positional argument: 'file_name' in ml_service/pipelines/diabetes_regression_build_train_pipeline.py", l...
Open Graph Description: In "Publish Azure Machine Learning Pipeline" of "Model CI Pipeline" I got the TypeError: create_sample_data_csv() missing 1 required positional argument: 'file_name' in ml_service/pipelines/diabete...
X Description: In "Publish Azure Machine Learning Pipeline" of "Model CI Pipeline" I got the TypeError: create_sample_data_csv() missing 1 required positional argument: 'file_name' in ...
Opengraph URL: https://github.com/microsoft/MLOpsPython/issues/253
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError: create_sample_data_csv() missing 1 required positional argument: 'file_name' in ml_service/pipelines/diabetes_regression_build_train_pipeline.py\", line 62","articleBody":"In \"Publish Azure Machine Learning Pipeline\" of \"Model CI Pipeline\" I got the TypeError: create_sample_data_csv() missing 1 required positional argument: 'file_name' in ml_service/pipelines/diabetes_regression_build_train_pipeline.py\", line 62\r\n\r\nI was able to fix it by exchanging the lines 62 and 65 in ml_service/pipelines/diabetes_regression_build_train_pipeline.py and add the file_name as parameter to create_\r\n\r\nBefore:\t\t\r\n```python\r\n # Check to see if dataset exists\r\n if (dataset_name not in aml_workspace.datasets):\r\n # This call creates an example CSV from sklearn sample data. If you\r\n # have already bootstrapped your project, you can comment this line\r\n # out and use your own CSV.\r\n create_sample_data_csv()\r\n\r\n # Use a CSV to read in the data set.\r\n file_name = 'diabetes.csv'\r\n```\r\nAfter fixing:\r\n```python\r\n # Check to see if dataset exists\r\n if (dataset_name not in aml_workspace.datasets):\r\n # Use a CSV to read in the data set.\r\n file_name = 'diabetes.csv'\r\n\r\n # This call creates an example CSV from sklearn sample data. If you\r\n # have already bootstrapped your project, you can comment this line\r\n # out and use your own CSV.\r\n create_sample_data_csv(file_name)\r\n```","author":{"url":"https://github.com/martin-weber","@type":"Person","name":"martin-weber"},"datePublished":"2020-04-06T13:54:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/253/MLOpsPython/issues/253"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:813dc486-ff5a-2e9a-d53a-c7d5975bd4bf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFEE:271716:ABE1F:F20CC:697CB676 |
| html-safe-nonce | 54185aa758f292ea398721d1cef33d6a0e96e23eae39f1a309ca6decb344b3a7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkVFOjI3MTcxNjpBQkUxRjpGMjBDQzo2OTdDQjY3NiIsInZpc2l0b3JfaWQiOiI1MDIwMDg4NjE0OTIzMzE4OTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5568a2b483e9f9f18af312f4418b75f485f59dfec2bcbd6254c59c3cf102edbb |
| hovercard-subject-tag | issue:595137331 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/MLOpsPython/253/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cefbcada95f6cc6b861e5494de774e77dd8ffc7c41a6808e23246683c5a37035/microsoft/MLOpsPython/issues/253 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cefbcada95f6cc6b861e5494de774e77dd8ffc7c41a6808e23246683c5a37035/microsoft/MLOpsPython/issues/253 |
| og:image:alt | In "Publish Azure Machine Learning Pipeline" of "Model CI Pipeline" I got the TypeError: create_sample_data_csv() missing 1 required positional argument: 'file_name' in ml_service/pipelines/diabete... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | martin-weber |
| hostname | github.com |
| expected-hostname | github.com |
| None | f30e23787c843d478679169eb69bc1bf04c9aaf526e14cad93570a516ad7b047 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/MLOpsPython git https://github.com/microsoft/MLOpsPython.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 168217581 |
| octolytics-dimension-repository_nwo | microsoft/MLOpsPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 168217581 |
| octolytics-dimension-repository_network_root_nwo | microsoft/MLOpsPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 741eb70fda44f52186d2172f41929617819039d5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width