OptimalHaploidValueSelectionProblemMixin#

class pybrops.breed.prot.sel.prob.OptimalHaploidValueSelectionProblem.OptimalHaploidValueSelectionProblemMixin[source]#

Bases: object

Helper class to implement properties common to OHV.

Methods

from_pgmat_gpmod

rtype:

OptimalHaploidValueSelectionProblemMixin

Attributes

nlatent

Number of latent variables.

ohvmat

Optimal haploid value matrix of shape (s,t).

property nlatent: Integral#

Number of latent variables.

property ohvmat: ndarray#

Optimal haploid value matrix of shape (s,t).