You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
</span></code></pre></div><hr><p>Create a task inside the project.</p><p><strong>Allowed Roles:</strong></p><ul><li>At least <code>PROJECT_EDIT</code> for that project</li><li><code>COMPANY_OWNER</code></li><li><code>COMPANY_ADMIN</code></li></ul><p><strong>Args</strong></p><ul><li><strong>project_id</strong> : the identifier of the project</li><li><strong>name</strong> : the name of the task</li><li><strong>tags</strong> : a list of tags associated with the task</li><li><strong>task_type</strong> : the type of the task. See <code>TaskType</code> documentation for more information</li><li><strong>data_structure</strong> : type of data in the task</li><li><strong>cost_info</strong> : optional argument that specify the cost information of the task</li><li><strong>optional_target</strong> : True if the target value in not always available. This changes the behaviour and the detection phase of ML cube Platform that will analyse production data without considering the actual target</li><li><strong>text_language</strong> : required for NLP tasks, it specifies the language used in the task.</li></ul><p><strong>Returns</strong></p><ul><li><strong>task_id</strong> : <code>str</code></li></ul><p><strong>Raises</strong></p><p><code>CreateTaskException</code></p><h3id=update_task>.update_task<aclass=headerlinkhref=#update_tasktitle="Permanent link">¶</a></h3><divclass="language-python highlight"><pre><span></span><code><spanid=__span-11-1><aid=__codelineno-11-1name=__codelineno-11-1href=#__codelineno-11-1></a><spanclass=o>.</span><spanclass=n>update_task</span><spanclass=p>(</span>
</span></code></pre></div><hr><p>Create a task inside the project.</p><p><strong>Allowed Roles:</strong></p><ul><li>At least <code>PROJECT_EDIT</code> for that project</li><li><code>COMPANY_OWNER</code></li><li><code>COMPANY_ADMIN</code></li></ul><p><strong>Args</strong></p><ul><li><strong>project_id</strong> : the identifier of the project</li><li><strong>name</strong> : the name of the task</li><li><strong>tags</strong> : a list of tags associated with the task</li><li><strong>task_type</strong> : the type of the task. See <code>TaskType</code> documentation for more information</li><li><strong>data_structure</strong> : type of data in the task</li><li><strong>cost_info</strong> : optional argument that specify the cost information of the task</li><li><strong>optional_target</strong> : True if the target value in not always available. This changes the behaviour and the detection phase of ML cube Platform that will analyse production data without considering the actual target</li><li><strong>text_language</strong> : required for NLP tasks, it specifies the language used in the task.</li><li><strong>positive_class</strong> : required for binary classification tasks, it specifies the positive class of the target.</li></ul><p><strong>Returns</strong></p><ul><li><strong>task_id</strong> : <code>str</code></li></ul><p><strong>Raises</strong></p><p><code>CreateTaskException</code></p><h3id=update_task>.update_task<aclass=headerlinkhref=#update_tasktitle="Permanent link">¶</a></h3><divclass="language-python highlight"><pre><span></span><code><spanid=__span-11-1><aid=__codelineno-11-1name=__codelineno-11-1href=#__codelineno-11-1></a><spanclass=o>.</span><spanclass=n>update_task</span><spanclass=p>(</span>
0 commit comments