Menu
  • HOME
  • TAGS

How to use Test Learners and Confusion Matrix through Orange (GUI)

machine-learning,confusion-matrix,orange

Confusion matrix and ROC analysis are widgets intended to analyze the results of the classification that come from a Test Learners widget. A typical schema for such evaluation is: Widgets for clustering can add a column with cluster labels to the data set, but there is no widget to turn...

Orange Bayes algorithm with continuous features

orange

Orange uses a slightly different formula that, according to Kononenko, gives the same result but allows for better interpretability and m-estimate of probabilities. Instead of product( p(Xi|class0) ) it computes product( p(class0|Xi) / p(class0)). I don't think this should affect your computation, though, but you can check. The code that...

How to use sample weights for a random forest classificator in Orange?

orange

Simple tree learner is simple: it's optimized for speed and does not support weights. I guess learning algorithms in Orange that do not support weight should raise an exception if the weight argument is specified. If you need them just to change the class distribution, multiply data instances instead. Create...

Most Visualization Tools are Missing from Orange.Canvas (2015/06/15 source)

orange

Install also PyQwt5 and PyQtGraph.

How to stratify data using Orange?

python,decision-tree,orange

I don't see where do you adjust for the 30:1 bias. If by stratification: no, stratification means the opposite (in some sense) of what you want: stratified sample is a sample in which the class distribution is roughly the same as in the "population". Therefore, by stratified=True, you tell Orange...

Orange app can't find MySQLdb. How do I install it?

python,pip,orange

This may not be the optimal approach in terms of system paths and such, but it works. Find where you installed Orange. If in the OS's Applications directory, it is: /Applications/Orange.app Try this at the console: cd <your_Orange_app>/Contents/Frameworks/Python.framework/Resources/Python.app/Contents/MacOS/ ./Python <your_Orange_app>/Contents/Frameworks/Python.framework/Versions/2.7/bin/pip install MySQL-python This just executes "pip install MySQL-python" but with...

Outputting text data from Orange's clustering algorithm

data-mining,orange

As advised by Anony Mousse. import Orange import random random.seed(42) def callback(km): #print(km.data[-10:]) pass iris = Orange.data.Table("iris") km = Orange.clustering.kmeans.Clustering(iris, 3, minscorechange=0, inner_callback=callback) print(km.data[-10:]) ...

Flatten data in a table which has a field with mulitple values

orange

If you go to the .tab format, you can mark the last column as basket; see http://docs.orange.biolab.si/reference/rst/Orange.data.formats.html#baskets. In this way you will load the last column as a list of values, not a single value -- don't forget to remove the quotes. But from the on you're on you own....

Python Orange 3 ensemble stacking

python-3.x,orange

You are correct in doubting that stacking is already implemented in Orange 3 (because it isn't).

Can't install Orange

enthought,orange

Run Orange canvas from the command prompt C:\Users\localadmin\AppData\Local\Enthought\Canopy\User\python.exe -m Orange.OrangeCanvas.main -l3 or with a standard python install C:\Python27\python.exe -m Orange.OrangeCanvas.main -l3 This should give you more information about the error....