L1NormGenomicSelectionProblemMixin#
- class pybrops.breed.prot.sel.prob.L1NormGenomicSelectionProblem.L1NormGenomicSelectionProblemMixin[source]#
Bases:
object
Helper class containing common properties for L1GS problems.
Methods
- type mkrwt:
ndarray
Attributes
Cholesky decomposition of the kinship matrix.
Number of latent variables.
- property V: ndarray#
Cholesky decomposition of the kinship matrix.
- abstract classmethod from_numpy(mkrwt, tafreq, tfreq, 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]#
- Parameters:
mkrwt (numpy.ndarray) –
A marker weight array of shape
(p,t)
.Where:
p
is the number of markers.t
is the number of traits.
tafreq (numpy.ndarray) –
Taxa allele frequency array of shape
(n,p)
.Where:
n
is the number of taxa.p
is the number of markers.
tfreq (numpy.ndarray) –
Target allele frequency array of shape
(p,t)
.Where:
p
is the number of markers.t
is the number of traits.
- Return type:
- property nlatent: Integral#
Number of latent variables.