Skip to content
Snippets Groups Projects
Select Git revision
  • 568cf30a95f4e02efeefe9dd272aceebf355245d
  • master default protected
  • johannes
  • partial_parser
  • Aloui_Dary
  • ignore_punct
  • AC
  • classifier
  • fixhelp
  • libmacaon2
  • error_predictor
  • morpho
  • ssrnn
  • tfparsing
  • silvio
  • tagger_options
  • maca_trans_frame_parser
  • alexis
  • new_config
  • tagparse
  • maca_graph_parser
21 results

maca_trans_lemmatizer_mcf2cff.c

Blame
  • QarBoostNC3.py NaN GiB
    from ..Monoview.MonoviewUtils import BaseMonoviewClassifier
    from ..Monoview.Additions.BoostUtils import getInterpretBase
    from ..Monoview.Additions.QarBoostUtils import ColumnGenerationClassifierQar
    
    
    class QarBoostNC3(ColumnGenerationClassifierQar, BaseMonoviewClassifier):
    
        def __init__(self, random_state=None, **kwargs):
            super(QarBoostNC3, self).__init__(
                random_state=random_state,
                self_complemented=False,
                twice_the_same=False,
                previous_vote_weighted=False
                )
            self.param_names = []
            self.distribs = []
            self.classed_params = []
            self.weird_strings = {}
    
        def canProbas(self):
            """Used to know if the classifier can return label probabilities"""
            return True
    
        def getInterpret(self, directory):
            return getInterpretBase(self, directory, "QarBoostNC3", self.weights_, self.break_cause)
    
        def get_name_for_fusion(self):
            return "QBN2"
    
    
    def formatCmdArgs(args):
        """Used to format kwargs for the parsed args"""
        kwargsDict = {}
        return kwargsDict
    
    
    def paramsToSet(nIter, randomState):
        """Used for weighted linear early fusion to generate random search sets"""
        paramsSet = []
        for _ in range(nIter):
            paramsSet.append({})
        return paramsSet