Similar to Python, you can also use the R code/script to extend your experiment inside ML Studio. However, unlike Python, you get two modules for R, which are as follows:
The Execute R Script module
The Create R Model module
Similar to the module for Python, the Execute R Script module also has three input ports and two output ports. The property panel for the module comes with an R script editor where you can enter your code, as shown in the following screenshot:
The module comes with a sample script, as you can find in the preceding screenshot. You can use the maml.mapInputPort()
method with the port number as argument 1 for Input1, and argument 2 for Input2 to access the input dataset as an R data.frame
object.
The third input expects a .zip
file to be uploaded to ML Studio to import the existing code. The first output generates a dataset that can be used further in another module and the second output...