Visualization of DataSet is fun in Orange


Visualizing Data Set is fun using Orange


Data has become powerful source of earning and predict future and people will seek to utilize it even if they don’t know exactly how. Machine learning will become a usual part of programmer’s resume, data scientists will be as common as accountants. Now a days and for the next approximately two decades, we will continue to see a major need for machine learning and data science specialists to help apply machine learning technologies to application areas where they aren’t applied today.

Now a day people prefer GUI based tools instead of more coding stuffs . Orange is one of the popular open source machine learning and data visualization tool for beginners. People who don’t know more about coding and willing to visualize pattern and other stuffs can easily work with Orange.

Why Orange:

Orange is an open-source software package released under GPL that powers Python scripts with its rich compilation of mining and machine learning algorithms for data pre-processing, classification, modelling, regression, clustering and other miscellaneous functions.

Orange also comes with a visual programming environment and its workbench consists of tools for importing data, and dragging and dropping widgets and links to connect different widgets for completing the workflow.

Orange uses common Python open-source libraries for scientific computing, such as numpy, scipy and scikit-learn, while its graphical user interface operates within the cross-platform Qt framework.


Getting Started:

Download Orange

=> Go to and click on Download.

For Linux Users:


If you are using python provided by Anaconda distribution, you are almost ready to go . If not, follow these steps to download Orange :

conda config –add channels conda-forge

and run

conda install orange3
conda install -c defaults pyqt=5 qt


Orange can also be installed from the Python Package Index. You may need additional system packages provided by your distribution.

pip install orange3

Run short code to verify you setup Orange successfully. Open your Python Terminal and run the following code :

 import Orange

Note: If You find result shown above then you successfully setup Orange. In case you get error like this

from import _variable
ImportError: cannot import name '_variable'


Kindly Follow These Steps : Install Orange From Source

Mac and Windows user can easy setup orange in their system step by step just follow official docs of Orange:

Official docs for setup Orange

After installation let’s start working with Orange

Visualization of Data Set in Orange:

A primary goal of data visualization is to communicate information clearly and efficiently via statistical graphics, plots and information graphics.

“Main goal of data visualization is to communicate information clearly and effectively through graphical means. It doesn’t mean that data visualization needs to look boring to be functional or extremely sophisticated to look beautiful. To convey ideas effectively, both aesthetic form and functionality need to go hand in hand, providing insights into a rather sparse and complex data set by communicating its key-aspects in a more intuitive way. Yet designers often fail to achieve a balance between form and function, creating gorgeous data visualizations which fail to serve their main purpose — to communicate information.”
-Friedman (2008)

Open Orange on your system & create your own new Workflow:

After you clicked on “New” in the above step, this is what you should have come up with:

In this tutorial we are going to learn Visualization of Data Set in few steps as given below:

Step 1: Without data there is no existence of Machine Learning. So In our first step we import our data set in this tutorial I uses example data set available in Orange Directory.
We import data set in file widget.

Step 2: In next step we need data tables to viewing our data set. For this we use Data Table widget.

When we double click on the data table widget we can visualize our data in actual format :

Step 3: This is the last step where we will understand our data, with the help of visualization. Orange make visualization pretty much easier. We just add one more widget and choose in which format we would like to visualize our data like Scatter Plot.

This completely works on the concept of neurons, data transfer from one layer to other layer when we connect data table to scatter plot widget then we find actual representation of our data in the form of scatter plot.

Closing Note:

Orange is most powerful tool used for almost any kind of analysis and visualization of data. The default installation includes a number of machine learning, preprocessing and data visualization algorithms in 6 widget sets (data, visualize, classify, regression, evaluate and unsupervised). Additional functionalities are available as add-ons (bio-informatics, data fusion and text-mining).

Hope this tutorial help you to understand data visualization with the help of Orange. It is very important to understand the flow of data, this helps you to figure out problems easily.

Keep Practice with Orange

Happy Coding!


How to Connect LCD to Raspberry PI

This code will tested on this product of iotwebplanet.

sudo rm -rf LCD-show
git clone
chmod -R 755 LCD-show
cd LCD-show/

Then Run Following command as per you screen size.

In case of 2.8″ LCD
sudo ./LCD28-show

In case of 3.2″ LCD
sudo ./LCD32-show

In case of 3.5″ GPIO Display
sudo ./LCD35-show

In case of 3.5″ HDMI Display-MPI3508
sudo ./MPI3508_480_320-show
sudo ./MPI3508_600_400-show
sudo ./MPI3508_720_480-show
sudo ./MPI3508_810_540-show
sudo ./MPI3508_960_640-show

In case of 3.5″ DPI Display-MPI3510
sudo ./MPI3510-show

In case of 3.97″ LCD
sudo ./LCD397-show

In case of 4.3″ LCD
sudo ./LCD43-show

In case of 5″ LCD
sudo ./LCD5-show

In case of 7inch(B)-800X480 RPI LCD
sudo ./LCD7B-show

In case of 7inch(C)-1024X600 RPI LCD
sudo ./LCD7C-show

If you need to switch back to the traditional HDMI display
sudo ./LCD-hdmi

Wait a few minutes,the system will restart automaticall , enjoy with your LCD.


Flutter and its Setup

What is Flutter

Flutter is Google’s mobile UI framework for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

Join MakerSpace Kanpur

Who is it for?

Students and Teachers

System requirements for (Mac)

  • Operating Systems: macOS (64-bit)
  • Disk Space: 700 MB (does not include disk space for Xcode or Android Studio).
  • Tools: Flutter depends on these command-line tools being available in your environment.
    • bashmkdirrmgitcurlunzipwhich
  • Clone the repo

    If this is the first time you’re installing Flutter on this machine, clone the beta branch of the repository and then add the flutter tool to your path:

  • git clone -b beta
    $ export PATH=`pwd`/flutter/bin:$PATH
  •  flutter doctor

How to display indian currency properly in pdf in Magento 2.x

  • Download the font that support Indian Rupee symbol. please download dejavu-sans font.
  • copy  DejaVuSans.ttf place the above font folder in lib/LinLibertineFont/ directory.



$font = \Zend_Pdf_Font::fontWithPath(
// $this->_rootDirectory->getAbsolutePath(‘lib/internal/LinLibertineFont/LinLibertine_Re-4.4.1.ttf’)

(in _setFontRegular()_setFontBold()_setFontItalic() functions in both files.)

What is Yii 2.0?

What is Yii 2.0?

Yii is a high performance, component-based PHP framework for rapidly developing modern Web applications. The name Yii can be considered as the acronym for Yes It Is!. Yii 2 inherits the main spirit behind Yii for being a simple, fast and highly extensible PHP framework.

Whether you are one developer building a fairly simple Web site, or a team of distributed developers building an extremely complex Web application, using Yii is like augmenting your development team with additional experienced, professional, and efficient resources. All for free!

Yes It Is(Yii 2.0)

  1. Yii is a generic Web Development framework
  2. Yii can be used for developing all kinds of Web applications based on PHP
  3. Yii is component-based architecture and sophisticated caching support
  4. Yii is especially suitable for developing large-scale applications.
    such as portals, forums, content management systems (CMS), e-commerce projects, RESTful Web services, and so on
  5. Yii implements the MVC (Model-View-Controller) design pattern
  6. Strong core developer team
  7. Forum support available in yii site

Yii2.0 Requirements

Yii 2.0 requires PHP 5.4.0 or above.

It is better to setup Wamp server in your local  system.

Wamp server is complete PHP web development stack.It is also notice that please install Visual C/C++ 2011,12,13,14, and 2015 before wamp server setup.

Yii2.0 Features

You can stay focused on the tasks specific to your business requirements, and let Yii provide an implementation strategy for all of the following:

  1. Active Record Supporting Relational
  2. MVC (Model View Controller)
  3. RBAC
  4. RESTful API
  5. Validators
  6. Security Helper
  7. Session
  8. Sessions storage in database
  9. AJAX-enabled widgets
  10. Cookie
  11. Caching
  12. CSRF Tokens for security
  13. DAO
  14. Error Handling
  15. Gii
  16. i18n support
  17. Multi-tier caching support
  18. Namespaces, Traits features available
  19. NoSQL databases support like mongoDB
  20. Pure OOP-based framework
  21. Query builders
  22. skinning and theming
  23. URL Manager

Installing Yii2.0

We can install Yii in two ways, using Composer or downloading an archive file. The former is the preferred way as it allows you to install new extensions or update Yii by running a single command.

Step 1

Install via Composer(one time only)

The installer will download composer for you and set up your PATH environment variable so you can simply call composer from any directory.

Download and run Composer-Setup.exe – it will install the latest composer version whenever it is executed.

and run following command

php composer  global require "fxp/composer-asset-plugin:^1.2.0"


composer  global require "fxp/composer-asset-plugin:^1.2.0"

Now choose one of the application templates to start installing Yii 2.0. An application template is a package that contains a skeleton Web application written in Yii.

To install the basic application template, run the command below in the www folder of wamp server:

composer create-project yiisoft/yii2-app-basic yii2basic


php composer create-project yiisoft/yii2-app-basic yii2basic

Above commands will take 10-15 min for installation. please wait….

To install the advanced application template, run the command below:

composer create-project yiisoft/yii2-app-advanced advancedyii2


php composer create-project yiisoft/yii2-app-advanced advancedyii2

Above commands will take 10-15 min for installation. please wait….

Install from an Archive File

Download one of the following archive files, and then extract it to a Web-accessible(www folder of wamp):

  • Yii 2 with basic application template
  • Yii 2 with advanced application template

    important Installing from an Archive File

    Installing Yii from an archive file involves three steps:

    1. Download the archive file from
    2. Unpack the downloaded file to a Web-accessible folder.
    3. Modify the config/web.php file by entering a secret key for the cookieValidationKey configuration item (this is done automatically if you are installing Yii using Composer):
      // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
      'cookieValidationKey' => 'enter your secret key here',


      Verifying the Installation

      After installation is done, either configure your web server (see next section) or use the built-in PHP web server by running the following console command from  the project  directory:

      php yii serve

      Note: By default the HTTP-server will listen to port 8080. However if that port is already in use or you wish to serve multiple applications this way, you might want to specify what port to use. Just add the –port argument:

      //if you want to change the default port otherwise leave it
      php yii serve --port=<portnumber>
      php yii serve --port=8080

      You can use your browser to access the installed Yii application with the following URL:



Yii2 Basic Applications Structure

The most important directories and files in your application are (assuming the application’s root directory is basic):

basic/                  application base path
    composer.json       used by Composer, describes package information
    config/             contains application and other configurations
        console.php     the console application configuration
        web.php         the Web application configuration
    commands/           contains console command classes
    controllers/        contains controller classes
    models/             contains model classes
    runtime/            contains files generated by Yii during runtime, such as logs and cache files
    vendor/             contains the installed Composer packages, including the Yii framework itself
    views/              contains view files
    web/                application Web root, contains Web accessible files
        assets/         contains published asset files (javascript and css) by Yii
        index.php       the entry (or bootstrap) script for the application
    yii                 the Yii console command execution script