SequentialRunner is an AbstractRunner implementation. It can be used to run the Pipeline in a sequential manner using a topological sort of provided nodes.
SequentialRunner is an AbstractRunner implementation. It can be used to run the Pipeline in a sequential manner using a topological sort of provided nodes.
# `DebugRunner` has to be used in a different way since `session.run` don't support additional argument, so we are going to use a lower level approach and construct `Runner` and `Pipeline` and `DataCatalog` ourselves.# Testing Kedro Project: https://github.com/noklam/kedro_gallery/tree/master/kedro-debug-runner-demo
The kedro.ipython extension is already loaded. To reload it, use:
%reload_ext kedro.ipython
[10/06/22 14:45:20] INFO Updated path to Kedro project: __init__.py:54
/Users/Nok_Lam_Chan/dev/kedro_galler
y/kedro-debug-runner-demo
[10/06/22 14:45:22] INFO Kedro project __init__.py:77
kedro_debug_runner_demo
INFO Defined global variable 'context', __init__.py:78
'session', 'catalog' and 'pipelines'
INFO Updated path to Kedro project: __init__.py:54
/Users/Nok_Lam_Chan/dev/kedro_galler
y/kedro-debug-runner-demo
[10/06/22 14:45:24] INFO Kedro project __init__.py:77
kedro_debug_runner_demo
INFO Defined global variable 'context', __init__.py:78
'session', 'catalog' and 'pipelines'
INFO Loading data from data_catalog.py:343
'example_iris_data'
(CSVDataSet)...
INFO Loading data from 'parameters' data_catalog.py:343
(MemoryDataSet)...
INFO Running node: split: node.py:327
split_data([example_iris_data,parameter
s]) -> [X_train,X_test,y_train,y_test]
INFO Saving data to 'X_train' data_catalog.py:382
(MemoryDataSet)...
INFO Saving data to 'X_test' data_catalog.py:382
(MemoryDataSet)...
INFO Saving data to 'y_train' data_catalog.py:382
(MemoryDataSet)...
INFO Saving data to 'y_test' data_catalog.py:382
(MemoryDataSet)...
INFO Loading data from 'X_train' data_catalog.py:343
(MemoryDataSet)...
INFO Loading data from 'X_test' data_catalog.py:343
(MemoryDataSet)...
INFO Loading data from 'y_train' data_catalog.py:343
(MemoryDataSet)...
INFO Running node: make_predictions: node.py:327
make_predictions([X_train,X_test,y_trai
n]) -> [y_pred]
INFO Saving data to 'y_pred' data_catalog.py:382
(MemoryDataSet)...
INFO Loading data from 'y_pred' data_catalog.py:343
(MemoryDataSet)...
INFO Loading data from 'y_test' data_catalog.py:343
(MemoryDataSet)...
INFO Running node: report_accuracy: node.py:327
report_accuracy([y_pred,y_test]) ->
None
INFO Model has accuracy of 0.933 on test nodes.py:74
data.
[10/06/22 14:45:27] INFO Loading data from data_catalog.py:343
'example_iris_data'
(CSVDataSet)...
INFO Loading data from 'parameters' data_catalog.py:343
(MemoryDataSet)...
INFO Running node: split: node.py:327
split_data([example_iris_data,parameter
s]) -> [X_train,X_test,y_train,y_test]
INFO Saving data to 'X_train' data_catalog.py:382
(MemoryDataSet)...
INFO Saving data to 'X_test' data_catalog.py:382
(MemoryDataSet)...
INFO Saving data to 'y_train' data_catalog.py:382
(MemoryDataSet)...
INFO Saving data to 'y_test' data_catalog.py:382
(MemoryDataSet)...
INFO Loading data from 'X_train' data_catalog.py:343
(MemoryDataSet)...
INFO Loading data from 'X_test' data_catalog.py:343
(MemoryDataSet)...
INFO Loading data from 'y_train' data_catalog.py:343
(MemoryDataSet)...
INFO Running node: make_predictions: node.py:327
make_predictions([X_train,X_test,y_trai
n]) -> [y_pred]
INFO Saving data to 'y_pred' data_catalog.py:382
(MemoryDataSet)...
INFO Loading data from 'y_pred' data_catalog.py:343
(MemoryDataSet)...
INFO Loading data from 'y_test' data_catalog.py:343
(MemoryDataSet)...
INFO Running node: report_accuracy: node.py:327
report_accuracy([y_pred,y_test]) ->
None
INFO Model has accuracy of 0.933 on test nodes.py:74
data.
INFO Loading data from data_catalog.py:343
'example_iris_data'
(CSVDataSet)...
[10/06/22 14:46:01] INFO Loading data from data_catalog.py:343
'example_iris_data'
(CSVDataSet)...
INFO Loading data from 'parameters' data_catalog.py:343
(MemoryDataSet)...
INFO Running node: split: node.py:327
split_data([example_iris_data,parameter
s]) -> [X_train,X_test,y_train,y_test]
INFO Saving data to 'X_train' data_catalog.py:382
(MemoryDataSet)...
INFO Saving data to 'X_test' data_catalog.py:382
(MemoryDataSet)...
INFO Saving data to 'y_train' data_catalog.py:382
(MemoryDataSet)...
INFO Saving data to 'y_test' data_catalog.py:382
(MemoryDataSet)...
INFO Loading data from 'X_train' data_catalog.py:343
(MemoryDataSet)...
INFO Loading data from 'X_test' data_catalog.py:343
(MemoryDataSet)...
INFO Loading data from 'y_train' data_catalog.py:343
(MemoryDataSet)...
INFO Running node: make_predictions: node.py:327
make_predictions([X_train,X_test,y_trai
n]) -> [y_pred]
INFO Saving data to 'y_pred' data_catalog.py:382
(MemoryDataSet)...
INFO Loading data from 'y_pred' data_catalog.py:343
(MemoryDataSet)...
INFO Loading data from 'y_test' data_catalog.py:343
(MemoryDataSet)...
INFO Running node: report_accuracy: node.py:327
report_accuracy([y_pred,y_test]) ->
None
INFO Model has accuracy of 0.933 on test nodes.py:74
data.
INFO Loading data from 'X_train' data_catalog.py:343
(MemoryDataSet)...
SequentialRunner is an AbstractRunner implementation. It can be used to run the Pipeline in a sequential manner using a topological sort of provided nodes.
SequentialRunner is an AbstractRunner implementation. It can be used to run the Pipeline in a sequential manner using a topological sort of provided nodes.