You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 1:1: F401 'abc.abstractmethod' imported but unused Line 2:1: F401 'collections.deque' imported but unused Line 3:1: F401 'dataclasses.dataclass' imported but unused Line 4:1: F401 'multiprocessing.managers.DictProxy' imported but unused Line 5:1: F401 'typing.Dict' imported but unused Line 5:1: F401 'typing.List' imported but unused Line 5:1: F401 'typing.Callable' imported but unused Line 10:1: F401 'golem.core.optimisers.common_optimizer.node.Node' imported but unused Line 13:1: F401 'golem.core.optimisers.common_optimizer.scheme.Scheme' imported but unused Line 14:1: F401 'golem.core.optimisers.common_optimizer.stage.Stage' imported but unused Line 15:1: F401 'golem.core.optimisers.common_optimizer.task.Task' imported but unused Line 15:1: F401 'golem.core.optimisers.common_optimizer.task.TaskStatusEnum' imported but unused Line 17:1: F401 'golem.core.optimisers.graph.OptGraph' imported but unused Line 18:1: F401 'golem.core.optimisers.objective.ObjectiveFunction' imported but unused Line 20:1: F401 'golem.core.optimisers.opt_history_objects.opt_history.OptHistory' imported but unused Line 22:1: F401 'golem.core.optimisers.optimizer.GraphOptimizer' imported but unused Line 24:1: F401 'golem.core.optimisers.timer.OptimisationTimer' imported but unused
Line 1:1: F401 'abc.abstractmethod' imported but unused Line 2:1: F401 'collections.deque' imported but unused Line 4:1: F401 'typing.Callable' imported but unused Line 7:1: F401 'golem.core.optimisers.common_optimizer.node.Node' imported but unused Line 8:1: F401 'golem.core.optimisers.common_optimizer.old_config.default_stages' imported but unused Line 9:1: F401 'golem.core.optimisers.common_optimizer.scheme.Scheme' imported but unused Line 10:1: F401 'golem.core.optimisers.common_optimizer.stage.Stage' imported but unused Line 11:1: F401 'golem.core.optimisers.common_optimizer.task.Task' imported but unused Line 11:1: F401 'golem.core.optimisers.common_optimizer.task.TaskStatusEnum' imported but unused Line 12:1: F401 'golem.core.optimisers.genetic.operators.operator.EvaluationOperator' imported but unused Line 13:1: F401 'golem.core.optimisers.graph.OptGraph' imported but unused Line 14:1: F401 'golem.core.optimisers.objective.ObjectiveFunction' imported but unused Line 15:1: F401 'golem.core.optimisers.opt_history_objects.individual.Individual' imported but unused Line 18:1: F401 'golem.core.optimisers.optimizer.GraphOptimizer' imported but unused Line 19:1: F401 'golem.core.optimisers.populational_optimizer.PopulationalOptimizer' imported but unused Line 20:1: F401 'golem.core.optimisers.timer.OptimisationTimer' imported but unused Line 39:1: W391 blank line at end of file
Line 3:1: F401 'copy.deepcopy' imported but unused Line 4:1: F401 'enum.Enum' imported but unused Line 4:1: F401 'enum.auto' imported but unused Line 8:1: F401 'numpy as np' imported but unused Line 9:1: F401 'typing.Optional' imported but unused Line 9:1: F401 'typing.Tuple' imported but unused Line 9:1: F401 'typing.List' imported but unused Line 31:1: E303 too many blank lines (3) Line 40:1: E302 expected 2 blank lines, found 1 Line 49:1: E302 expected 2 blank lines, found 1 Line 52:1: E305 expected 2 blank lines after class or function definition, found 1 Line 75:1: E302 expected 2 blank lines, found 1 Line 86:1: E302 expected 2 blank lines, found 1 Line 98:1: E305 expected 2 blank lines after class or function definition, found 1 Line 114:1: E302 expected 2 blank lines, found 0 Line 118:1: E305 expected 2 blank lines after class or function definition, found 1 Line 125:1: E303 too many blank lines (3) Line 149:1: W391 blank line at end of file
Line 3:1: F401 'golem.core.optimisers.genetic.operators.mutation.Mutation as OldMutation' imported but unused Line 7:36: F821 undefined name 'CommonOptimizerParameters' Line 12:45: F821 undefined name 'CommonOptimizerParameters' Line 15:1: E305 expected 2 blank lines after class or function definition, found 1 Line 15:1: E402 module level import not at top of file Line 15:1: F401 'golem.core.optimisers.fitness.null_fitness' imported but unused Line 16:1: E302 expected 2 blank lines, found 0
Line 7:1: F401 'golem.core.optimisers.common_optimizer.task.Task' imported but unused Line 8:1: F401 'golem.core.optimisers.genetic.operators.base_mutations.MutationTypesEnum' imported but unused Line 15:36: F821 undefined name 'CommonOptimizerParameters' Line 22:45: F821 undefined name 'CommonOptimizerParameters'
Line 7:1: E303 too many blank lines (3) Line 8:36: F821 undefined name 'CommonOptimizerParameters' Line 14:45: F821 undefined name 'CommonOptimizerParameters'
Line 6:1: E302 expected 2 blank lines, found 1 Line 7:36: F821 undefined name 'CommonOptimizerParameters' Line 13:45: F821 undefined name 'CommonOptimizerParameters'
Line 7:1: E303 too many blank lines (3) Line 8:36: F821 undefined name 'CommonOptimizerParameters' Line 15:45: F821 undefined name 'CommonOptimizerParameters'
Line 7:1: E303 too many blank lines (3) Line 8:36: F821 undefined name 'CommonOptimizerParameters' Line 13:45: F821 undefined name 'CommonOptimizerParameters'
Line 1:1: F401 'copy.deepcopy' imported but unused Line 2:1: F401 'random.choice' imported but unused Line 4:1: F401 'typing.Optional' imported but unused Line 4:1: F401 'typing.Dict' imported but unused Line 4:1: F401 'typing.Callable' imported but unused Line 7:1: F401 'golem.core.optimisers.common_optimizer.task.Task' imported but unused Line 8:1: F401 'golem.core.optimisers.genetic.operators.base_mutations.base_mutations_repo' imported but unused Line 8:1: F401 'golem.core.optimisers.genetic.operators.base_mutations.MutationTypesEnum' imported but unused Line 9:1: F401 'golem.core.optimisers.graph.OptGraph' imported but unused Line 10:1: F401 'golem.core.optimisers.opt_history_objects.individual.Individual' imported but unused Line 11:1: F401 'golem.core.optimisers.opt_history_objects.parent_operator.ParentOperator' imported but unused Line 15:36: F821 undefined name 'CommonOptimizerParameters' Line 20:45: F821 undefined name 'CommonOptimizerParameters' Line 47:1: W391 blank line at end of file
Line 28:1: E302 expected 2 blank lines, found 0 Line 32:1: E305 expected 2 blank lines after class or function definition, found 1 Line 37:1: E302 expected 2 blank lines, found 1 Line 39:45: F821 undefined name 'CommonOptimizerParameters' Line 43:1: E305 expected 2 blank lines after class or function definition, found 1 Line 54:1: E302 expected 2 blank lines, found 1 Line 61:1: E302 expected 2 blank lines, found 1 Line 66:1: E305 expected 2 blank lines after class or function definition, found 1 Line 74:45: F821 undefined name 'CommonOptimizerParameters' Line 78:1: E305 expected 2 blank lines after class or function definition, found 1 Line 81:1: E302 expected 2 blank lines, found 1 Line 85:1: E305 expected 2 blank lines after class or function definition, found 1 Line 88:1: W391 blank line at end of file
Line 33:46: F821 undefined name 'CommonOptimizerParameters' Line 33:76: F821 undefined name 'CommonOptimizerParameters' Line 35:31: F821 undefined name 'CommonOptimizerParameters'
Line 1:1: F401 'typing.Any' imported but unused Line 1:1: F401 'typing.Dict' imported but unused Line 5:1: F401 'golem.core.optimisers.optimizer.OptimizationParameters' imported but unused Line 5:1: F401 'golem.core.optimisers.optimizer.GraphGenerationParams' imported but unused Line 5:1: F401 'golem.core.optimisers.optimizer.AlgorithmParameters' imported but unused Line 11:1: F401 'golem.core.optimisers.genetic.operators.mutation.Mutation as OldMutation' imported but unused Line 21:36: F821 undefined name 'CommonOptimizerParameters' Line 30:45: F821 undefined name 'CommonOptimizerParameters' Line 30:77: F821 undefined name 'CommonOptimizerParameters'
ИМХО, этот PR на стадии MVP. Не хватает точных замеров прироста производительности в разных задачах, адаптированных под этот алгоритм мутаций (сейчас тут реализованы обертки) и нормальной системы кеширования.
А вообще, возможностей для дальнейшего развития тут так много, что проще с нуля написать.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adaptiveRelated to R&D of Adaptive features of the algorithmopt coreRelated to core logic of optimizerresearchExperiments, hypothesis, research development
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP
Продолжение работы #199.
Этап 1. Воссоздание существующего генетического оптимизатора с использованием нового подхода
Этап 2. Добавление бандитов для мутаций