Skip to content

TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' #109

@KOLANICH

Description

@KOLANICH
  • BTB version: 06daf13
  • Python version: 3.7.2
  • Operating System: Debian stretch

DescriptionFile

"lib/python3.7/site-packages/btb/tuning/gp.py", line 86, in _acquire
ei = sigma * (z * Phi(z) + N(z))
File "lib/python3.7/site-packages/scipy/stats/_distn_infrastructure.py", line 1751, in cdf
place(output, (1-cond0)+np.isnan(x), self.badvalue)
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

What I Did

Called GPEi. GP with the same arguments works. GCP* fail with SingularMatrix.

https://gitlab.com/KOLANICH/UniOpt.py/-/jobs/141882424

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugErrors that need to be fixedhelp wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions