Categories

Versions

You are viewing the RapidMiner Developers documentation for version 9.2 -Check here for latest version

提供操作文档

It's natural to add documentation to program code, but this does not help the end user who never sees any part of the program code.

You have already configured the filesOperatorsNAME.xmlandOperatorsDocNAME.xmlto provide the operator with an icon and name.

The extension template contains an example of operator documentation. The XML file is placed in the folderNAME.example_group, where 'NAME' is the extension name. You should create one folder, calledNAME.group_name, per operator group, and add one XML file per operator to the respective group folder.

In this example, the folder is named我的test.operator_test, because the extension name is 'MyTest' and the group ID is 'operator_test'. The file is called我的_own_operator.xml, because the operator key is 'my_own_operator'.

Now, copy the sample file content and adapt it to your needs:

    My own operator
 This is an example Operator. It writes to the Log View when being executed.   First paragraph. Second paragraph.    Input port description.     Output port description.      Description here       Tutorial description here.    ...        

Change the content between the tags to describe your operator, ports and parameters.

Don’t forget to adapt the operator key in this document. Otherwise, your operator icon will not display correctly in the operator help.

You can add a tutorial process. To do so, complete the tutorial description and exchange the process tags with the process XML of your tutorial process.

  1. Build the RapidMiner process that you want to add to the documentation.
  2. Then, open theView > Show Panel > XMLmenu. The XML panel opens.
  3. Move the XML panel to a comfortable place in RapidMiner Studio. You can see the process in XML format in the panel.
  4. Copy the complete XML code to extract the process.

Congratulations for your first complete operator, repeat steps 3 through 6 of this guide for each operator that you want included in your extension.

Then,publish your extensionif you want to provide it to the Community or check out whichadvanced enhancementsyou can build for RapidMiner Studio.