Exemple #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')
Exemple #2
0
 def classify_plot(self, x, y):
     classify_plot(self,
                   self.x,
                   self.y,
                   x,
                   y,
                   title='My Bayes Minimum Error')
Exemple #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__)
Exemple #4
0
 def classify_plot(self, x, y):
     classify_plot(self, self.x, self.y, x, y, title='My Support Vector Machine')
Exemple #5
0
 def classify_plot(self, x, y):
     classify_plot(self, self.x, self.y, x, y, title='My kNN')
Exemple #6
0
 def classify_plot(self, x, y):
     classify_plot(self, self.x, self.y, x, y, title='My Naive Bayes')