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

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

src/x/b/xbob.example.faceverify-1.0.0/xbob/example/faceverify/tests/__init__.py   xbob.example.faceverify(Download)
 
    # compute score
    score = bob.machine.linear_scoring([model], ubm, [probe])[0,0]
    self.assertAlmostEqual(score, 6975.2165874138391)
 

src/a/n/antispoofing.verification.gmm-1.0.2/antispoofing/verification/gmm/__init__.py   antispoofing.verification.gmm(Download)
    stats = [bob.machine.GMMStats(bob.io.HDF5File(str(v)))]
    # Saves the A row vector for each model and Z-Norm samples split
    A = bob.machine.linear_scoring(model, ubm, stats, [], True)
    utils.ensure_dir(os.path.dirname(probe_output[k]))
    bob.io.save(A, probe_output[k])