Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.learn.em bob.learn.em
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bob
  • bob.learn.embob.learn.em
  • Issues
  • #7
Closed
Open
Created Jul 01, 2015 by André Anjos@andre.anjos💬Owner

bob.learn.em.znorm() does not work

Created by: ivana7c

When calling the following function, we end up with the following error:

A = numpy.array([[1, 2, 3, 4, 5], [6, 7, 8, 9, 8], [7, 6, 5, 4, 3]], numpy.float64)
B = numpy.array([[5, 4, 7, 8],[9, 8, 7, 4],[5, 6, 3, 2]], numpy.float64)
normalized_scores = bob.learn.em.znorm(A, B)                

Usage (for details, see help):
ztnorm(rawscores_probes_vs_models,rawscores_zprobes_vs_models,rawscores_probes_vs_tmodels,rawscores_zprobes_vs_tmodels,mask_zprobes_vs_tmodels_istruetrial) -> output 

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: More keyword list entries (5) than format specifiers (2)

There is something wrong with the python bindings. In addition, the tests are wrong as well, since this problem didn't show up earlier.

It was working well on the former major release of bob.

Assignee
Assign to
Time tracking