MCPcopy Index your code
hub / github.com/wepe/MachineLearning / show

Method show

DecisionTree/id3_c45.py:233–239  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

231 return np.array(results)
232
233 def show(self):
234 if self._tree==None:
235 raise NotFittedError("Estimator not fitted, call `fit` first")
236
237 #plot the tree using matplotlib
238 import treePlotter
239 treePlotter.createPlot(self._tree)
240
241
242class NotFittedError(Exception):

Callers 6

get_feature_map.pyFile · 0.80
createPlotFunction · 0.80
plot_marginFunction · 0.80
plot_contourFunction · 0.80
test.pyFile · 0.80

Calls 1

NotFittedErrorClass · 0.85

Tested by 2

plot_marginFunction · 0.64
plot_contourFunction · 0.64