8.1.1.6.1.4. skimpy.sampling.ga_flux_concentration_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.4.1. Attributes

model_gen

8.1.1.6.1.4.2. Classes

ItterableSeries

GaFluxConcentrationSampler

This sampler performs an optimizaion

8.1.1.6.1.4.3. Functions

convex_mating(ind1, ind2[, eta])

sample_parameters(kmodel, tmodel, individual, ...[, ...])

Run sampling on first order model

8.1.1.6.1.4.4. Module Contents

class skimpy.ItterableSeries(this_series)
data
__iter__()
skimpy.model_gen
class skimpy.GaFluxConcentrationSampler(parameters=None)

Bases: skimpy.sampling.flux_concentration_sampler.FluxConcentrationSampler

This sampler performs an optimizaion

class Parameters

Bases: tuple

Parameter type specified for the parameters sampling procedure :return:

n_samples
n_parameter_samples
max_generation
seed
mutation_probability
crossover_scaling
max_eigenvalue
min_eigenvalue
scaling_parameters
sample(tmodel, kmodel, simple_parameter_sampler, only_stable=True)
Parameters:
  • compiled_model

  • flux_dict

  • concentration_dict

  • seed

  • max_generation

  • mutation_probability

  • eta

Returns:

fitness(flux_concentration)
run_ea(toolbox, stats=None, verbose=False)
sample_tfa_model(n_samples)
Parameters:
  • tmodel – pytfa.tmodel

  • n_samples – integer

Returns:

TODO pd.DataFrame indexed with reaction names and metabolite concentrations

mutate_ind(ind)
skimpy.convex_mating(ind1, ind2, eta=0.5)
skimpy.sample_parameters(kmodel, tmodel, individual, param_sampler, scaling_parameters, only_stable=True)

Run sampling on first order model