Skip to content

Commit b11067f

Browse files
committed
updated feature union class
1 parent 0cc3494 commit b11067f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

codeflare/pipelines/tests/test_and.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@
99
from codeflare.pipelines.Datamodel import XYRef
1010
from codeflare.pipelines.Runtime import ExecutionType
1111

12-
class FeatureUnion(dm.AndTransform):
12+
class FeatureUnion(dm.AndEstimator):
1313
def __init__(self):
1414
pass
1515

16+
def get_estimator_type(self):
17+
return 'transform'
18+
1619
def transform(self, xy_list):
1720
X_list = []
1821
y_vec = None

codeflare/pipelines/tests/test_multibranch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from codeflare.pipelines.Datamodel import XYRef
1515
from codeflare.pipelines.Runtime import ExecutionType
1616

17-
class FeatureUnion(dm.AndTransform):
17+
class FeatureUnion(dm.AndEstimator):
1818
def __init__(self):
1919
pass
2020

0 commit comments

Comments
 (0)