Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

DatasetTransformer throws when is used on its own #424

Open
ganik opened this issue Jan 30, 2020 · 0 comments
Open

DatasetTransformer throws when is used on its own #424

ganik opened this issue Jan 30, 2020 · 0 comments

Comments

@ganik
Copy link
Member

ganik commented Jan 30, 2020

Repro:
r0 = Pipeline([MinMaxScaler()])
r0.fit(train_df)

r1 = Pipeline([DatasetTransformer(r0.model)])
r1.fit_transform(train_df) <---- throws here

Traceback (most recent call last):
r1.fit_transform(train_df)
File "E:\sources\tmp\NimbusML\src\python\nimbusml\internal\utils\utils.py", line 220, in wrapper
params = func(*args, **kwargs)
File "E:\sources\tmp\NimbusML\src\python\nimbusml\pipeline.py", line 1132, in fit_transform
**params)
File "E:\sources\tmp\NimbusML\src\python\nimbusml\internal\utils\utils.py", line 220, in wrapper
params = func(*args, **kwargs)
File "E:\sources\tmp\NimbusML\src\python\nimbusml\pipeline.py", line 1051, in fit
X, y, verbose, **params)
File "E:\sources\tmp\NimbusML\src\python\nimbusml\pipeline.py", line 740, in _fit_graph
*(graph_nodes))
File "E:\sources\tmp\NimbusML\src\python\nimbusml\internal\utils\entrypoints.py", line 206, in init
self._set_outputs(outputs)
File "E:\sources\tmp\NimbusML\src\python\nimbusml\internal\utils\entrypoints.py", line 253, in _set_outputs
"outputs from the graph do not match graph_outputs.")
ValueError: outputs from the graph do not match graph_outputs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant