L2NormGenomicSelectionProblemMixin#
- class pybrops.breed.prot.sel.prob.L2NormGenomicSelectionProblem.L2NormGenomicSelectionProblemMixin[source]#
Bases:
object
Helper class containing common properties for L2GS problems.
Methods
Construct an L2 Norm Genomic Selection Problem from a Genotype Matrix.
Attributes
Cholesky decomposition of the kinship matrix.
Number of latent variables.
- property C: ndarray#
Cholesky decomposition of the kinship matrix.
- abstract classmethod from_gmat(gmat, cmatfcty, mkrwt, afreq, ndecn, decn_space, decn_space_lower, decn_space_upper, nobj, obj_wt=None, obj_trans=None, obj_trans_kwargs=None, nineqcv=None, ineqcv_wt=None, ineqcv_trans=None, ineqcv_trans_kwargs=None, neqcv=None, eqcv_wt=None, eqcv_trans=None, eqcv_trans_kwargs=None, **kwargs)[source]#
Construct an L2 Norm Genomic Selection Problem from a Genotype Matrix.
- Parameters:
mkrwt (numpy.ndarray) – A marker weight matrix of shape
(p,t)
.afreq (numpy.ndarray) – A marker target allele frequency matrix of shape
(p,t)
.
- Return type:
- property nlatent: Integral#
Number of latent variables.