Exemplo n.º 1
0
 def classify_plot(self, test_x, test_y):
     classify_plot(self,
                   self.x,
                   self.y,
                   test_x,
                   test_y,
                   title='My Random Forest')
Exemplo n.º 2
0
 def classify_plot(self, x, y):
     classify_plot(self,
                   self.x,
                   self.y,
                   x,
                   y,
                   title='My Bayes Minimum Error')
Exemplo n.º 3
0
 def classify_plot(self, x, y):
     if self.has_intercept:
         x = self._add_ones(x)
     classify_plot(self.new(),
                   self.x[:],
                   self.y[:],
                   x,
                   y,
                   title=self.__doc__)
Exemplo n.º 4
0
 def classify_plot(self, x, y):
     classify_plot(self, self.x, self.y, x, y, title='My Support Vector Machine')
Exemplo n.º 5
0
 def classify_plot(self, x, y):
     classify_plot(self, self.x, self.y, x, y, title='My kNN')
Exemplo n.º 6
0
 def classify_plot(self, x, y):
     classify_plot(self, self.x, self.y, x, y, title='My Naive Bayes')