Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ITMO-NSS-team
FEDOT
Commits
b602eb86
Commit
b602eb86
authored
1 week ago
by
Илья Соколов
Browse files
Options
Download
Email Patches
Plain Diff
chore: remove unused predictions_cache
parent
08369028
DRMPN-better-caching
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fedot/api/api_utils/assumptions/assumptions_handler.py
+1
-3
fedot/api/api_utils/assumptions/assumptions_handler.py
with
1 addition
and
3 deletions
+1
-3
fedot/api/api_utils/assumptions/assumptions_handler.py
View file @
b602eb86
...
...
@@ -8,7 +8,6 @@ from fedot.api.api_utils.presets import change_preset_based_on_initial_fit
from
fedot.api.time
import
ApiTime
from
fedot.core.caching.operations_cache
import
OperationsCache
from
fedot.core.caching.preprocessing_cache
import
PreprocessingCache
from
fedot.core.caching.predictions_cache
import
PredictionsCache
from
fedot.core.data.data
import
InputData
from
fedot.core.data.data_split
import
train_test_data_setup
from
fedot.core.pipelines.pipeline
import
Pipeline
...
...
@@ -55,7 +54,6 @@ class AssumptionsHandler:
pipeline
:
Pipeline
,
operations_cache
:
Optional
[
OperationsCache
]
=
None
,
preprocessing_cache
:
Optional
[
PreprocessingCache
]
=
None
,
predictions_cache
:
Optional
[
PredictionsCache
]
=
None
,
eval_n_jobs
:
int
=
-
1
)
->
Pipeline
:
"""
Check if initial pipeline can be fitted on a presented data
...
...
@@ -69,7 +67,7 @@ class AssumptionsHandler:
data_train
,
data_test
=
train_test_data_setup
(
self
.
data
)
self
.
log
.
info
(
'Initial pipeline fitting started'
)
# load preprocessing
pipeline
.
try_load_from_cache
(
operations_cache
,
preprocessing_cache
,
predictions_cache
)
pipeline
.
try_load_from_cache
(
operations_cache
,
preprocessing_cache
)
pipeline
.
fit
(
data_train
,
n_jobs
=
eval_n_jobs
)
if
operations_cache
is
not
None
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help