Source

orange-modelmaps / examples / ensemble / play_with_rf.py

import matplotlib
matplotlib.use('Agg')

import math, os.path, random, re, sys
import cPickle as pickle
import matplotlib.pyplot as plt
import numpy as np

from itertools import groupby
from operator import itemgetter

from Orange import clustering, data, distance, ensemble, evaluation, network, utils
from Orange.classification.tree import SimpleTreeLearner

import orangecontrib.modelmaps as mm

ROOT = "/home/miha/work/res/modelmaps"
#ROOT = "C:\\Users\\Miha\\work\\res\\modelmaps"
#ROOT = "/Network/Servers/xgridcontroller.private/lab/mihas/modelmaps"