Skip to content
Merged
1 change: 1 addition & 0 deletions docs/source/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Release Notes
* Changes
* Replaced `allowed_pipelines` with `allowed_component_graphs` :pr:`2364`
* Removed private method ``_compute_features_during_fit`` from ``PipelineBase`` :pr:`2359`
* Updated ``compute_order`` in ``ComponentGraph`` to be a read-only property :pr:`2408`
* Unpinned PyZMQ version in requirements.txt :pr:`2389`
* Uncapping LightGBM version in requirements.txt :pr:`2405`
* Updated minimum version of plotly :pr:`2415`
Expand Down
7 changes: 6 additions & 1 deletion evalml/pipelines/component_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,15 @@ def __init__(self, component_dict=None, random_seed=0):
)
component_class = handle_component_class(component_info[0])
self.component_instances[component_name] = component_class
self.compute_order = self.generate_order(self.component_dict)
self.input_feature_names = {}
self._feature_provenance = {}
self._i = 0
self._compute_order = self.generate_order(self.component_dict)

@property
def compute_order(self):
"""The order that components will be computed or called in."""
return self._compute_order

@property
def default_parameters(self):
Expand Down