Coder Social home page Coder Social logo

Comments (8)

HairyDrumroll avatar HairyDrumroll commented on June 23, 2024 1

Same problem when I get to Evaluate Model

from ai-900-aifundamentals.

HairyDrumroll avatar HairyDrumroll commented on June 23, 2024 1

I'm also not clear on the difference between steps 6 & 7 under the heading Evaluate Model

from ai-900-aifundamentals.

HairyDrumroll avatar HairyDrumroll commented on June 23, 2024 1

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.

John-Vance avatar John-Vance commented on June 23, 2024 1

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.

sherzyang avatar sherzyang commented on June 23, 2024 1

@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.
image

If you go back to the designer page, you can select your pipeline and continue to edit it.
image

Sounds like the same issue for Evaluate Model. Hope this resolves both.

from ai-900-aifundamentals.

sherzyang avatar sherzyang commented on June 23, 2024 1

Topic 2 - steps 6 & 7 in Evaluate Model section repeat. I have removed the repeat. Thanks for identifying that.

from ai-900-aifundamentals.

sherzyang avatar sherzyang commented on June 23, 2024 1

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.

sherzyang avatar sherzyang commented on June 23, 2024 1

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.