Comments (8)
Same problem when I get to Evaluate Model
from ai-900-aifundamentals.
I'm also not clear on the difference between steps 6 & 7 under the heading Evaluate Model
from ai-900-aifundamentals.
And it would be good to include a description of what an Inference Pipeline actually is or what it does.
Also, the Python code has an extra return and indentation which causes problems when the code is run.
It should be as follows:
import pandas as pd
def azureml_main(dataframe1 = None, dataframe2 = None):
scored_results = dataframe1[['Scored Labels']]
scored_results.rename(columns={'Scored Labels':'predicted_price'},inplace=True)
return scored_results
from ai-900-aifundamentals.
I can confirm the Python code as given in the training module fails and that @HairyDrumroll's version works. Here's the error when using the original:
Execution failed. User process '/azureml-envs/azureml_8f317849db35f281450cf74333640b98/bin/python' exited with status code 1. Please check log file 'user_logs/std_log.txt' for error details. Error: ModuleReflector(parser.module_entry, env).exec( File "/azureml-envs/azureml_8f317849db35f281450cf74333640b98/lib/python3.8/site-packages/azureml/studio/modulehost/module_reflector.py", line 397, in exec self._handle_exception(bex) File "/azureml-envs/azureml_8f317849db35f281450cf74333640b98/lib/python3.8/site-packages/azureml/studio/modulehost/module_reflector.py", line 471, in _handle_exception raise exception File "/azureml-envs/azureml_8f317849db35f281450cf74333640b98/lib/python3.8/site-packages/azureml/studio/modulehost/module_reflector.py", line 379, in exec output_tuple = self._entry.func(**reflected_input_ports, **reflected_parameters) File "/azureml-envs/azureml_8f317849db35f281450cf74333640b98/lib/python3.8/site-packages/azureml/studio/modulehost/module_reflector.py", line 76, in wrapper ret = func(*args, **validated_args) File "/azureml-envs/azureml_8f317849db35f281450cf74333640b98/lib/python3.8/site-packages/azureml/studio/modules/python_language_modules/execute_python_script.py", line 126, in run return _run_impl(**input_values) File "/azureml-envs/azureml_8f317849db35f281450cf74333640b98/lib/python3.8/site-packages/azureml/studio/modules/python_language_modules/execute_python_script.py", line 216, in _run_impl ErrorMapping.throw(executing_script_error) File "/azureml-envs/azureml_8f317849db35f281450cf74333640b98/lib/python3.8/site-packages/azureml/studio/common/error.py", line 835, in throw raise err azureml.studio.common.error.FailedToEvaluateScriptError: The following error occurred during script evaluation, please view the output log for more information: ---------- Start of error message from Python interpreter ---------- Got exception when invoking script: 'IndentationError: unexpected indent (user_script_8ca2342671e34bb0bf50fe17714f4eb4.py, line 1)'. ---------- End of error message from Python interpreter ----------
from ai-900-aifundamentals.
@HairyDrumroll, thanks for bringing these issues up. Let me go through them one by one.
Topic 1 - unable to edit pipeline.
It sounds like the UI got a bit of an update and my instructions could be clearer. I will update the instructions with directions to return to the pipeline by selecting designer>pipelines.
The edit issue occurs if you stay on the "jobs" tab.
If you go back to the designer page, you can select your pipeline and continue to edit it.
Sounds like the same issue for Evaluate Model. Hope this resolves both.
from ai-900-aifundamentals.
Topic 2 - steps 6 & 7 in Evaluate Model section repeat. I have removed the repeat. Thanks for identifying that.
from ai-900-aifundamentals.
Topic 3 - more information on inference pipelines would be helpful.
Totally, you can find more information here. What is covered is out of scope for AI-900 but is covered in DP-100.
https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/innovate/best-practices/ml-deployment-inference
from ai-900-aifundamentals.
Topic 4 - @HairyDrumroll @John-Vance , yes, there is an issue with the copy and paste adding an extra space in the python script. Thanks for bringing that to my attention. I will add a note for users to be aware that might be an issue.
from ai-900-aifundamentals.
Related Issues (20)
- 02b-create-classification-model.md: "PatientID" used as a feature HOT 1
- AI-900-02b Add transformations : Select Columns / Remove PatientID step is missing HOT 3
- AI-900-02b Create an inference pipeline: HOT 1
- Lab 2 Minor Correction HOT 1
- Error when running analyze-image.ps in Azure Cloud Shell HOT 3
- Button in the Deploy a model menu to deploy the model doesn't work HOT 3
- A well-defined MLTable file was not found at the root of the selected folder. HOT 1
- Image Visualization contradicts step by step guide HOT 1
- Face APIs no longer supported HOT 1
- 05-create-cognitive-search-solution[does query work?] HOT 1
- 02a - Create Regression Model.md HOT 1
- New lay-out of the Designer in Machine Learning Studio HOT 1
- Classifying the images in powershell
- Analyze text with the Text Analytics Service HOT 2
- Replace Azure AI Services instead of Cognitive Services HOT 5
- Lab 1: UI update changes anomaly detector creation HOT 3
- AI-900 | lab 1 - Anomaly Detector HOT 1
- Practice Questions HOT 1
- AI-900-AIFundamentals/instructions/02a-create-regression-model - Incorrect Python code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai-900-aifundamentals.