Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(8) | Call(4) | Derive(0) | Import(4)
src/b/i/biopython-1.63/Bio/NeuralNetwork/Gene/Schema.py biopython(Download)
from Bio.GA.Repair.Stabilizing import AmbiguousRepair from Bio.GA.Selection.Tournament import TournamentSelection from Bio.GA.Selection.Diversity import DiversitySelection
self.base_selector = TournamentSelection(self.mutator, self.crossover, self.repair, 2) self.selector = DiversitySelection(self.base_selector, self.motif_generator.random_motif)
src/b/i/biopython-HEAD/Bio/NeuralNetwork/Gene/Schema.py biopython(Download)
from Bio.GA.Repair.Stabilizing import AmbiguousRepair from Bio.GA.Selection.Tournament import TournamentSelection from Bio.GA.Selection.Diversity import DiversitySelection
self.base_selector = TournamentSelection(self.mutator, self.crossover, self.repair, 2) self.selector = DiversitySelection(self.base_selector, self.motif_generator.random_motif)
src/b/i/biopython-1.63/Tests/test_GASelection.py biopython(Download)
# local stuff from Bio.GA.Organism import Organism from Bio.GA.Selection.Diversity import DiversitySelection from Bio.GA.Selection.Tournament import TournamentSelection from Bio.GA.Selection.RouletteWheel import RouletteWheelSelection
def setUp(self): self.selector = DiversitySelection(NoSelection(), random_genome) def test_get_new_organism(self): """Getting a new organism not in the new population.
src/b/i/biopython-HEAD/Tests/test_GASelection.py biopython(Download)
# local stuff from Bio.GA.Organism import Organism from Bio.GA.Selection.Diversity import DiversitySelection from Bio.GA.Selection.Tournament import TournamentSelection from Bio.GA.Selection.RouletteWheel import RouletteWheelSelection
def setUp(self): self.selector = DiversitySelection(NoSelection(), random_genome) def test_get_new_organism(self): """Getting a new organism not in the new population.