skimpy.sampling.cma_es_parameter_sampler ======================================== .. py:module:: skimpy.sampling.cma_es_parameter_sampler .. autoapi-nested-parse:: .. module:: skimpy :platform: Unix, Windows :synopsis: Simple Kinetic Models in Python .. moduleauthor:: SKiMPy team [---------] Copyright 2017 Laboratory of Computational Systems Biotechnology (LCSB), Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIE CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Classes ------- .. autoapisummary:: skimpy.sampling.cma_es_parameter_sampler.CMAESParameterSampler Functions --------- .. autoapisummary:: skimpy.sampling.cma_es_parameter_sampler.run_ea skimpy.sampling.cma_es_parameter_sampler.init_parameters skimpy.sampling.cma_es_parameter_sampler.pareto_dominance Module Contents --------------- .. py:class:: CMAESParameterSampler(parameters=None) Bases: :py:obj:`skimpy.sampling.ParameterSampler` A simple parameter sampler that samples stable model parameters with respect to a steady state flux and concentration state .. py:class:: Parameters Bases: :py:obj:`tuple` Parameter type specified for the parameters samples :return: .. py:attribute:: n_samples .. py:method:: sample(compiled_model, flux_dict, concentration_dict, seed=123, max_generation=10, sigma=0.1, lambda_=1000, nhof=100, max_eigenvalue=0, min_km=0.001, max_km=1000.0) :param compiled_model: :param flux_dict: :param concentration_dict: :param seed: :param max_generation: :param mutation_probability: :param eta: :return: .. py:method:: _compile_sampling_functions(model, concentrations, fluxes) Compliles the function for sampling using theano :param model: .. py:method:: fitness(parameters) .. py:method:: update_parameters(parameters) .. py:function:: run_ea(toolbox, ngen=None, stats=None, hof=None, verbose=False) .. py:function:: init_parameters(low, up) .. py:function:: pareto_dominance(x, y)