8.1.1.6.1.5. skimpy.sampling.ga_parameter_sampler

[———]

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.

8.1.1.6.1.5.1. Module Contents

8.1.1.6.1.5.1.1. Classes

GaParameterSampler

A simple parameter sampler that samples stable model parameters

8.1.1.6.1.5.1.2. Functions

default_fitness(saturations, compiled_model=None, concentration_dict=dict(), flux_dict=dict(), max_eigenvalue=0)

run_ea(toolbox, stats=None, verbose=False)

init_parameters(low, up)

pareto_dominance(x, y)

skimpy.default_fitness(saturations, compiled_model=None, concentration_dict=dict(), flux_dict=dict(), max_eigenvalue=0)
class skimpy.GaParameterSampler(parameters=None)

Bases: skimpy.sampling.ParameterSampler

A simple parameter sampler that samples stable model parameters with respect to a steady state flux and concentration state

Parameters
__defaults__
sample(self, compiled_model, flux_dict, concentration_dict, seed=123, max_generation=10, mutation_probability=0.2, eta=20, fitness_fun=default_fitness, fitness_weights=(- 1,), **kwargs)
Parameters
  • compiled_model

  • flux_dict

  • concentration_dict

  • seed

  • max_generation

  • mutation_probability

  • eta

Returns

_compile_sampling_functions(self, model, concentrations, fluxes)

Compliles the function for sampling using theano :param model:

skimpy.run_ea(toolbox, stats=None, verbose=False)
skimpy.init_parameters(low, up)
skimpy.pareto_dominance(x, y)