コード例 #1
0
    def __init__(
        self,
        inducing_kernel,
        kernels,
        num_inducing,
        max_iter,
        learnhyper=1,
        learn_sub_gps=1,
        learning_rate_start=1.0,
        isindep_sub_inducing_points=True,
    ):
        Classifier.__init__(self, "Struct Noise Gaussian Process Classifier")

        self.R = len(kernels)

        self.kernels = kernels

        self.P = num_inducing

        self.inducing_kernel = inducing_kernel

        self.max_iter = max_iter

        self.learnhyper = learnhyper

        self.learn_sub_gps = learn_sub_gps

        self.learning_rate_start = learning_rate_start

        self.isindep_sub_inducing_points = isindep_sub_inducing_points
コード例 #2
0
    def __init__(self,
                 inducing_kernel,
                 kernels,
                 num_inducing,
                 max_iter,
                 learnhyper=1,
                 learn_sub_gps=1,
                 learning_rate_start=1.,
                 isindep_sub_inducing_points=True):
        Classifier.__init__(self, 'Struct Noise Gaussian Process Classifier')

        self.R = len(kernels)

        self.kernels = kernels

        self.P = num_inducing

        self.inducing_kernel = inducing_kernel

        self.max_iter = max_iter

        self.learnhyper = learnhyper

        self.learn_sub_gps = learn_sub_gps

        self.learning_rate_start = learning_rate_start

        self.isindep_sub_inducing_points = isindep_sub_inducing_points
コード例 #3
0
ファイル: GPMILBigData.py プロジェクト: caomw/milbundle
 def __init__(self,kernel, num_inducing = 10, max_iter = 50,lrate=0.0001,islearnthres=1):
     Classifier.__init__(self,'VSGPMIL')
            
     self.kernel=kernel        
     self.P = num_inducing        
     self.max_iter = max_iter
     self.thres = 0.5           
     self.lrate = lrate
     self.islearnthres = islearnthres
コード例 #4
0
 def __init__(self, max_iter = 50,lrate=0.0001,verbose=0,learnhyper=1,islearnthres=1,normalize=1,outfilename=sys.stdout):
     Classifier.__init__(self,'Bayes-LogReg-MIL')
            
     self.max_iter = max_iter             
     self.thres = 0.5
     self.lrate = lrate
     self.verbose = verbose
     self.learnhyper = learnhyper
     self.islearnthres=islearnthres
     self.outfilename=outfilename
     self.normalize=normalize
コード例 #5
0
ファイル: GPMILBigData.py プロジェクト: myouesfi/milbundle
    def __init__(self,
                 kernel,
                 num_inducing=10,
                 max_iter=50,
                 lrate=0.0001,
                 islearnthres=1):
        Classifier.__init__(self, 'VSGPMIL')

        self.kernel = kernel
        self.P = num_inducing
        self.max_iter = max_iter
        self.thres = 0.5
        self.lrate = lrate
        self.islearnthres = islearnthres