How modules work

To use a module, you have to pick one from the left-side blade and drag it inside the gray area in the middle of the window. That's not all. Each module has an output, which is supposed to either be the final product or to be fed as some other module as input.

To be strict about it, the white blade on the left side comes with both modules and datasets; nonetheless, this chapter is calling everything modules.

Except for a few, the majority of modules also need an input. Once a module is selected, it will be highlighted and you can see whether it requests one or more inputs, along with which kinds of inputs are needed, and you can also see how many outputs it has, along with each kind.

Inputs are represented by little circles on the top of the selected module. Outputs are represented by small circles on the bottom of the selected module. Details for both are shown when the mouse pointer hovers over a circle. Let's call the circles on the top of each module input circles, and the circles on the bottom will be called output circles. The following screenshot shows a module and its input and output-circles:

Figure 13.9: Azure Machine Learning Studio split Data module

Many things were done in Figure 13.9. First, the experiment was renamed to R in Cloud. The search bar in the left blade was used to search for Split Data module, which was dragged into the middle zone. Then the module was selected; it requests a single input and can have two outputs. By hovering the mouse pointer over the input circle, it showed the types of inputs accepted.

The red exclamation point inside the module indicates that it is not supplied with the input needed.

On the far right, inside the white blade, you can see the parameters related to Split Data module. They are Splitting modeFraction of rows in the first output datasetRandom seed, and Stratified split. There is even a small checkbox asking whether the split should be randomized or not.

In the end, all experiments can be described as a bunch of interrelated modules. To connect (relate) one module to another, all a user has to do is to click in the output circle of a module and drag the mouse to the output of the module you wish to connect to. Building data science models with Machine Learning Studio is as easy as that.

A module will be highlighted in red if you try to feed an input that is not allowed by it. A module will be highlighted in green if the type of input fed is acceptable.

Yet, you can make things slightly more complicated and flexible, by deploying raw codes as well. Skills in SQL, Python (both 3.x and 2.x), and R are welcome here. Let's put our knowledge of R and Machine Learning Studio together to build a complete experiment.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.29.19