Skip to content

Commit 6f31cae

Browse files
Update analysis.py
1 parent 7778178 commit 6f31cae

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

DimRed/analysis.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,15 @@
22

33

44
class Analysis:
5-
def __init__(self, standard_pipeline, pipeline, data):
5+
def __init__(self, X: np.array, y: np.array, standard_pipeline=None, pipeline=None):
6+
self.standard_pipeline = standard_pipeline
7+
self.pipeline = pipeline
8+
# self.standard_pipeline.fit(X)
9+
# self.pipeline.fit(X)
10+
self.X = X[0]
11+
self.size_per_side = int(math.sqrt(len(self.X)))
12+
self.X = self.X
13+
self.y = y[0].reshape(1, -1)
14+
15+
def produce_combinations(self, name: str, standard_pipeline: Pipeline, pipeline: Pipeline) -> None:
616
pass

0 commit comments

Comments
 (0)