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. Module Contents¶
8.1.1.6.1.4.1.1. Classes¶
|
|
|
This sampler performs an optimizaion |
8.1.1.6.1.4.1.2. Functions¶
|
|
|
Run sampling on first order model |
8.1.1.6.1.4.1.3. Attributes¶
|
- skimpy.model_gen¶
- class skimpy.GaFluxConcentrationSampler(parameters=None)¶
Bases:
skimpy.sampling.flux_concentration_sampler.FluxConcentrationSamplerThis sampler performs an optimizaion
- Parameters¶
- __defaults__¶
- sample(self, tmodel, kmodel, simple_parameter_sampler, only_stable=True)¶
- Parameters
compiled_model –
flux_dict –
concentration_dict –
seed –
max_generation –
mutation_probability –
eta –
- Returns
- fitness(self, flux_concentration)¶
- run_ea(self, toolbox, stats=None, verbose=False)¶
- sample_tfa_model(self, n_samples)¶
- Parameters
tmodel – pytfa.tmodel
n_samples – integer
- Returns
TODO pd.DataFrame indexed with reaction names and metabolite concentrations
- mutate_ind(self, 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