Commits

Miha Stajdohar committed e9b1ef2

Fixed imports.

Comments (0)

Files changed (2)

orangecontrib/modelmaps/modelmap.py

 .. autofunction:: get_feature_subsets
 
 """
-import bz2, itertools, math, random, os.path, time, uuid, re, sys
+import bz2, itertools, math, random, os.path, time
 import cPickle as pickle
 
 import scipy.stats
 import numpy as np
 
-import orngVizRank as vr
+import Orange.orng.orngVizRank as vr
 import model
 
-from orngScaleData import getVariableValuesSorted
-
 from Orange import data, distance, ensemble, feature, misc, projection
 from Orange.classification.knn import kNNLearner
-from Orange.classification.tree import SimpleTreeLearner, TreeLearner
+from Orange.classification.tree import TreeLearner
 
 
 MODEL_LIST = ["", "SCATTERPLOT", "RADVIZ", "SPCA", "POLYVIZ", "TREE", "NaiveLearner", "kNNLearner", "SVM", "RF"]

orangecontrib/modelmaps/widgets/OWModelMap.py

 """
 import os.path
 
-from Orange import classification, data, misc, utils
-from Orange.orng.orngScaleLinProjData import *
-from Orange.OrangeWidgets.OWkNNOptimization import OWVizRank
+from Orange import classification, utils
 from Orange.OrangeWidgets.Visualize.OWDistributions import OWDistributionGraph
 
 from orangecontrib import modelmaps, network
 from orangecontrib.network.community import CommunityDetection
-from orangecontrib.network.widgets.OWNxCanvasQt import OWNxCanvas
 from orangecontrib.network.widgets.OWNxExplorer import *
 from orangecontrib.network.widgets.OWNxHist import *
 
-from PyQt4 import QtCore
-
 
 NAME = "Model Map"
 DESCRIPTIPN = "Visualization and analysis of prediction models"