Orange is a C++ core object and routines library that incorporates a huge variety of standard and non-standard machine learning and data mining algorithms. It is an open-source data visualization, data mining, and machine learning tool. Orange is a scriptable environment for quick prototyping of the latest algorithms and testing patterns. It is a group of python-based modules that exist in the core library. It implements some functionalities for which execution time is not essential, and that is done in Python.
Widgets offer essential functionality, like
- Displaying data table and allowing to selection features
- Data reading
- Training predictors and comparison of learning algorithms
- Data element visualization, etc.
There are 3 ways to add widget to the canvas:
- Double click on the widget.
- Drag the widget to the canvas.
- Right click on the canvas for the widget menu.
In the canvas, double click on the File widget to open it. Then, you can load your own dataset or browse it from the custom documentation dataset. Here as usual I load iris.tab dataset in the File widget which comes with the orange tool.
File and Data info
- Drag the File widget to the canvas.
- Drag the Data Info widget to the canvas.
3. At the right side of the File widget, there is a semi-circular shape. Mouse down on it and drag it to the Data Info widget.
4. Notice that there is a link between both widget with the word data on top.
File and Data Table
- Drag a Data Table widget to the canvas.
- Connect File widget to the Data Table widget.
- Double click on the Data Table widget to see the rows & columns of dataset.
The Distribution widget displays the value distribution of discrete or continuous attributes. If the data contains a class variable, distributions may be conditioned on the class.
- Drag a Distribution widget to the canvas.
- Connect File widget to the Distribution widget.
- Double click on the Distribution widget to see the visualization.
- At the top left, select a different variable and check the distribution results
The Scatterplot widget provides a 2-dimensional scatterplot visualization for both continuous and discrete-valued attributes. The data is displayed as a collection of points, each having the value of the x-axis attribute determining the position on the horizontal axis and the value of the y-axis attribute determining the position on the vertical axis.
- Drag a Scatter Plot widget into the canvas.
- Connect the File widget to the Scatter Plot widget. The step is similar to how it was for the Distribution widget.
- Double click on the Scatter Plot widget to see the visualization.
- You can change the x-axis and y-axis based on the features available.
If you want to load external data you can select the URL option in the File widget, where one can paste the external dataset link to load the data.
We have explored orange tool in detail and visualized the dataset that we have loaded. We tried out Distribution, and Scatter Plot widgets using the Iris dataset.