/usr/include/openturns/swig/ExpertMixture_doc.i is in libopenturns-dev 1.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | %feature("docstring") OT::ExpertMixture
"Expert mixture defining a piece wise function according to a classifier.
Available constructors:
ExpertMixture(*basis, classifier*)
Parameters
----------
basis : :class:`~openturns.Basis`
A basis which is a collection of :class:`~openturns.NumericalMathFunction`.
classifier : :class:`~openturns.Classifier`
A classifier
See also
--------
Classifier, MixtureClassifier
Notes
-----
This implements an expert mixture which is a piece wise function :math:`f`
defined by the collection of functions :math:`(f_i)_{i=1, \\\\ldots, N}` given in
*basis* and according to the classifier *classifier*:
.. math::
f(\\\\vect{x}) &= f_1(\\\\vect{x}) \\\\hspace{1em} \\\\forall \\\\vect{x} \\\\in \\\\text{Classe} 1 \\\\\\\\
&= f_k(\\\\vect{x}) \\\\hspace{1em} \\\\forall \\\\vect{x} \\\\in \\\\text{Classe} k \\\\\\\\
&= f_N(\\\\vect{x}) \\\\hspace{1em} \\\\forall \\\\vect{x} \\\\in \\\\text{Classe} N
where the :math:`N` classes are defined by the classifier.
Usage:
- ExpertMixture(*input*)
where *input* is a sequence of float or a 2-d sequence of float. It represents a
point or a set of points to evaluate using the expert mixture.
The input vector *input* is assigned to a particular class according to the
rules defined by *classifier* and the associated marginal function :math:`f_i`
is used to evaluate :math:`f(input)`.
"
// ---------------------------------------------------------------------
%feature("docstring") OT::ExpertMixture::getExperts
"Accessor the basis.
Returns
-------
basis : :class:`~openturns.Basis`
The collection of functions :math:`(f_i)_{i=1, \\\\ldots, N}`."
// ---------------------------------------------------------------------
%feature("docstring") OT::ExpertMixture::setExperts
"Accessor the basis.
Parameters
----------
basis : :class:`~openturns.Basis`
The collection of functions :math:`(f_i)_{i=1, \\\\ldots, N}`."
// ---------------------------------------------------------------------
%feature("docstring") OT::ExpertMixture::getClassifier
"Accessor the classifier.
Returns
-------
classifier : :class:`~openturns.Classifier`
The classifier."
// ---------------------------------------------------------------------
%feature("docstring") OT::ExpertMixture::setClassifier
"Accessor the classifier.
Parameters
----------
classifier : :class:`~openturns.Classifier`
The classifier."
|