Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/a/z/AZOrange-HEAD/azorange/trainingMethods/AZorngCvBayes.py   AZOrange(Download)
    def __call__(self, data, weight = None):
        """Creates a Bayes model from the data in origTrainingData. """
        if not AZBaseClasses.AZLearner.__call__(self, data, weight):
            return None
        if data.domain.classVar.varType != orange.VarTypes.Discrete:

src/a/z/AZOrange-HEAD/azorange/trainingMethods/AZorngCvSVM.py   AZOrange(Download)
    def __call__(self, data, weight = None):
        """Creates an SVM model from the data in origTrainingData. """
        if not AZBaseClasses.AZLearner.__call__(self, data, weight):
            if self.verbose > 0: print "Could not create base class instance"
            return None

src/a/z/AZOrange-HEAD/azorange/trainingMethods/AZorngCvBoost.py   AZOrange(Download)
    def __call__(self, data, weight = None):
        """Creates a Boost model from the data in origTrainingData. """
        if not AZBaseClasses.AZLearner.__call__(self, data, weight):
            return None
        if data.domain.classVar.varType != orange.VarTypes.Discrete:

src/a/z/AZOrange-HEAD/azorange/trainingMethods/AZorngPLS.py   AZOrange(Download)
    def __call__(self, trainingData, weight=None):
        """Creates an PLS model from the data in trainingData. """
        if not AZBaseClasses.AZLearner.__call__(self,trainingData, weight):
            return None
        #Remove from the domain any unused values of discrete attributes including class

src/a/z/AZOrange-HEAD/azorange/trainingMethods/AZorngRF.py   AZOrange(Download)
    def __call__(self, trainingData, weight = None):
        """Creates an RF model from the data in trainingData. """
        if not AZBaseClasses.AZLearner.__call__(self,trainingData, weight):
            return None
 

src/a/z/AZOrange-HEAD/azorange/trainingMethods/AZorngCvANN.py   AZOrange(Download)
    def __train__(self, weight = None, seed=0, validationSet=None):
        if not AZBaseClasses.AZLearner.__call__(self, self.trainData, weight):
            return None
        """Creates an ANN model from the data in origTrainingData. """
 

src/a/z/AZOrange-HEAD/azorange/trainingMethods/AZorngConsensus.py   AZOrange(Download)
    def __call__(self, trainingData, weight = None):
        """Creates a Consensus model from the data in trainingData. """
 
        if not AZBaseClasses.AZLearner.__call__(self,trainingData, weight) or not trainingData:
            return None