def __init__(self, classname=None, jobject=None, options=None):
        """
        Initializes the specified classifier using either the classname or the supplied JB_Object.

        :param classname: the classname of the classifier
        :type classname: str
        :param jobject: the JB_Object to use
        :type jobject: JB_Object
        :param options: list of commandline options
        :type options: list
        """
        if jobject is None:
            jobject = Classifier.new_instance(classname)
        self.enforce_type(jobject, "weka.classifiers.Classifier")
        if not javabridge.static_call(
                "weka/classifiers/KernelHelper", "hasKernelProperty",
                "(Ljava/lang/Object;)Z",
                jobject):
            raise Exception("Does not handle a kernel: " + classes.get_classname(jobject))
        super(KernelClassifier, self).__init__(classname=classname, jobject=jobject, options=options)
def __init__ ( self , classname = None , jobject = None , options = None ) : if jobject is None : jobject = Classifier . new_instance ( classname ) self . enforce_type ( jobject , "weka.classifiers.Classifier" ) if not javabridge . static_call ( "weka/classifiers/KernelHelper" , "hasKernelProperty" , "(Ljava/lang/Object;)Z" , jobject ) : raise Exception ( "Does not handle a kernel: " + classes . get_classname ( jobject ) ) super ( KernelClassifier , self ) . __init__ ( classname = classname , jobject = jobject , options = options )
Initializes the specified classifier using either the classname or the supplied JB_Object.

        :param classname: the classname of the classifier
        :type classname: str
        :param jobject: the JB_Object to use
        :type jobject: JB_Object
        :param options: list of commandline options
        :type options: list