python learner editable setting
In the documentation, there is;
Description
The behavior of this operator is defined by a Python script which depending on the operator configuration can be edited by the user.
If the operator is editable, the parameter panel features a set of buttons at the top of the parameter list that allow to edit the declaration (e.g., capabilities and parameter types) and the Python script, as well as to save the configuration as template.
If the operator is not editable, you can check the operator capabilities to learn more about the inputs supported by the preconfigured Python script.
Tutorial Process
Classification and regression in a single Python Learner
This example shows how to create a single Python Learner, that supports both classification and regression, and can handle nominal features. In other words, a Python Leaner that behaves very similar to RapidMiner's builtin learners.
{ "name" : "LightGBM", "editable" : false, "dropSpecial" : true, "capabilities" : [ "numerical attributes", "binominal attributes", "polynominal attributes", "polynominal label", "binominal label", "numerical label" ], "parameters" : [ { "name" : "boosting_type", "type" : "category", "description" : "Types: ‘gbdt’, traditional Gradient Boosting Decision Tree. ‘dart’, Dropouts meet Multiple Additive Regression Trees. ‘goss’, Gradient-based One-Side Sampling. ‘rf’, Random Forest.", "categories" : [ "gbdt", "dart", "goss", "rf" ], "value" : "gbdt", "optional" : true, "advanced" : false }
           I believe "editable" paremeter is to set the operator editable.
"editable" : false,
I have changed the parameter from `false` to `true` but it seems nothing has been changed.
我想知道如何设置操作员可编辑nd what the the parameter "editable" in the declaration.
And also, once the oprator is set to editable false, how can I clear?
Best Answer
- 
         koichi
           MemberPosts:18 koichi
           MemberPosts:18 Learner I
          Thank you for your reply. I'm going to try. If there is another issue, I'll come back. Learner I
          Thank you for your reply. I'm going to try. If there is another issue, I'll come back.
 0

 
          
Answers
- Start with the unmodified LightGBM tutorial process
- Save the operator configuration in the repository (using theSavebutton next to theEdit Python Scriptbutton)
- Change theeditablefield in the JSON snippet totrue
- Save the modified operator configuration in the repository (under a different name)
- Drag both configuration files from the repository onto the canvas
You should get two operators both named LightGBM: one with the configuration controldisabled, and one with the configuration controlsenabled.