Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

has_one_root fix #1091

Merged
merged 2 commits into from
Apr 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fedot/core/pipelines/verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
has_no_cycle,
has_no_isolated_nodes,
has_no_self_cycled_nodes,
has_root
has_one_root
)
from golem.core.optimisers.graph import OptGraph

Expand All @@ -30,7 +30,7 @@
)
from fedot.core.repository.tasks import TaskTypesEnum

common_rules = [has_root,
common_rules = [has_one_root,
has_no_cycle,
has_no_self_cycled_nodes,
has_no_isolated_nodes,
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Base framework
thegolem @ git+https://github.com/aimclub/GOLEM.git@4700dde75acb22b30a4f35c95baddc1c635d7020
thegolem @ git+https://github.com/aimclub/GOLEM.git@3dc2a9b0749ea118b5e290d259c4582edeb1db2e

# Data
numpy>=1.16.0, !=1.24.0
Expand Down
3 changes: 2 additions & 1 deletion test/unit/optimizer/gp_operators/test_mutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from pathlib import Path

import pytest
from golem.core.optimisers.genetic.operators.base_mutations import MutationStrengthEnum

from fedot.core.composer.gp_composer.specific_operators import boosting_mutation
from fedot.core.data.data import InputData
Expand All @@ -16,7 +17,7 @@
from golem.core.dag.graph_node import GraphNode
from golem.core.dag.verification_rules import DEFAULT_DAG_RULES
from golem.core.optimisers.genetic.gp_params import GPAlgorithmParameters
from golem.core.optimisers.genetic.operators.mutation import Mutation, MutationStrengthEnum
from golem.core.optimisers.genetic.operators.mutation import Mutation
from golem.core.optimisers.graph import OptGraph, OptNode
from golem.core.optimisers.optimizer import GraphGenerationParams
from test.unit.composer.test_composer import to_numerical
Expand Down