Azure / Azure/MachineLearningNotebooks
Contradiction in Doc for compute_target
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- Jupyter Notebook
- Estrelas
- 4.4k
- Forks
- 2.6k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
compute_target
Union[xref:azureml.core.compute.DsvmCompute,azureml.core.compute.AmlCompute,azureml.core.compute.RemoteCompute,azureml.core.compute.HDInsightCompute,str,tuple]
[Required] The compute target to use. If unspecified, the target from the runconfig will be used. This parameter may be specified as a compute target object or the string name of a compute target on the workspace. Optionally if the compute target is not available at pipeline creation time, you may specify a tuple of ('compute target name', 'compute target type') to avoid fetching the compute target object (AmlCompute type is 'AmlCompute' and RemoteCompute type is 'VirtualMachine').
PROBLEM: It's a [Required] parameter. So how could there be a note like 'If unspecified, the target of the runconfig will be used....'.
I tested it, if you do not specify it it fails, even with a runconfig which has a compute_target defined.
error: executionId [453eac96]: Assignment for parameter Target is not specified
So the doc is incorrect here.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 76f6fde8-6396-f360-78c8-97970f5b0a4b
- Version Independent ID: 060905ce-7ab4-2052-6f35-7b1c14c1e581
- Content: azureml.pipeline.steps.PythonScriptStep class - Azure Machine Learning Python
- Content Source: AzureML-Docset/stable/docs-ref-autogen/azureml-pipeline-steps/azureml.pipeline.steps.PythonScriptStep.yml
- Service: machine-learning
- Sub-service: core
- GitHub Login: @DebFro
- Microsoft Alias: debfro
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Revise AzureML-Docset/stable/docs-ref-autogen/azureml-pipeline-steps/azureml.pipeline.steps.PythonScriptStep.yml e a documentação vinculada de PythonScriptStep. Compare o requisito de compute_target com o comportamento relatado e atualize a descrição do parâmetro para que seu status de obrigatório e a redação do fallback sejam consistentes; a documentação não deve mais afirmar que há um fallback inutilizável.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- azure, python
- Domínio
- documentation, machine-learning
- Tipo de issue
- Documentação
- Dificuldade
- 1/5
- Tempo estimado
- Menos de uma hora
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 55/100