Orange Blog

By: Marko Toplak, Jan 10, 2022

Compiling Orange 2 on modern Linux

How to compile an ancient version of Orange on Ubuntu 20.04 or how to spend a cold winter evening.


By: AJDA, Sep 21, 2018

Orange in Space

Did you know that Orange has already been to space? Rosario Brunetto (IAS-Orsay, France) has been working on the analysis of infrared images of asteroid Ryugu as a member of the JAXA Hayabusa2 team. The Hayabusa2 asteroid sample-return mission aims to retrieve data and samples from the near-Earth Ryugu asteroid and analyze its composition. Hayabusa2 arrived at Ryugu on June 27 and while the spacecraft will return to Earth with a sample only in late 2020, the mission already started collecting and sending back the data.


By: AJDA, May 15, 2018

Python Script: Managing Data on the Fly

Python Script is this mysterious widget most people don’t know how to use, even those versed in Python. Python Script is the widget that supplements Orange functionalities with (almost) everything that Python can offer. And it’s time we unveil some of its functionalities with a simple example. Example: Batch Transform the Data There might be a time when you need to apply a function to all your attributes. Say you wish to log-transform their values, as it is common in gene expression data.


By: AJDA, May 3, 2018

Data Mining Course at Higher School of Economics, Moscow

Janez and I have recently returned from a two-week stay in Moscow, Russian Federation, where we were teaching data mining to MA students of Applied Statistics. This is a new Master’s course that attracts the best students from different backgrounds and teaches them statistical methods for work in the industry. It was a real pleasure working at HSE. The students were proactive by asking questions and really challenged us to do our best.


By: MARKO, Apr 5, 2018

Unfreezing Orange

Have you ever tried Orange with data big enough that some widgets ran for more than a second? Then you have seen it: Orange froze. While the widget was processing, the interface would not respond to any inputs, and there was no way to stop that widget. Not all the widgets freeze, though! Some widgets, like Test & Score, k-Means, or Image Embedding, do not block. While they are working, we are free to build other parts of the workflow, and these widgets also show their progress.


By: AJDA, Jan 23, 2017

Preparing Scraped Data

One of the key questions of every data analysis is how to get the data and put it in the right form(at). In this post I’ll show you how to easily get the data from the web and transfer it to a file Orange can read. Related: Creating a new data table in Orange through Python First, we’ll have to do some scripting. We’ll use a couple of Python libraries - urllib.


By: AJDA, Oct 16, 2015

Learners in Python

We’ve already written about classifying instances in Python. However, it’s always nice to have a comprehensive list of classifiers and a step-by-step procedure at hand. TRAINING THE CLASSIFIER We start with simply importing Orange module into Python and loading our data set. >>>> import Orange >>>> data = Orange.data.Table("titanic") We are using ’titanic.tab’ data. You can load any data set you want, but it does have to have a categorical class variable (for numeric targets use regression).


By: AJDA, Aug 14, 2015

Classifying instances with Orange in Python

Last week we showed you how to create your own data table in Python shell. Now we’re going to take you a step further and show you how to easily classify data with Orange. First we’re going to create a new data table with 10 fruits as our instances. import Orange from Orange.data import * color = DiscreteVariable("color", values=["orange", "green", "yellow"])calories = ContinuousVariable("calories") fiber = ContinuousVariable("fiber") fruit = DiscreteVariable("fruit", values=["orange", "apple", "peach"]) domain = Domain([color, calories, fiber], class_vars=fruit) data=Table(domain, [</span> ["green", 4, 1.


By: AJDA, Aug 7, 2015

Creating a new data table in Orange through Python

IMPORT DATA One of the first tasks in Orange data analysis is of course loading your data. If you are using Orange through Python, this is as easy as riding a bike: import Orange data = Orange.data.Table(“iris”) print (data) This will return a neat data table of the famous Iris data set in the console. CREATE YOUR OWN DATA TABLE What if you want to create your own data table from scratch?

Categories: data examples python

By: BLAZ, Feb 19, 2015

Orange in Pavia, Italy

These days, we (Blaz Zupan and Marinka Zitnik, with full background support of entire Bioinformatics Lab) are running a three-day course on Data Mining in Python. Riccardo Bellazzi, a professor at University of Pavia, a world-renown researcher in biomedical informatics, and most of all, a great friend, has invited us to run the elective course for Pavia’s grad students. The enrollment was, he says, overwhelming, as with over 50 students this is by far the best attended grad course at Pavia’s faculty of engineering in the past years.

Categories: orange3 python workshop