Skip to content

Commit 52efca3

Browse files
committed
Do not add #defaultNormalizer when we already have #defaultNormalizerClass
1 parent 4be99a0 commit 52efca3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/DataFrame/DataFrame.class.st

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,6 @@ Class {
159159
#category : #'DataFrame-Core'
160160
}
161161

162-
{ #category : #defaults }
163-
DataFrame class >> defaultNormalizer [
164-
165-
^ AIMinMaxNormalizer
166-
]
167-
168162
{ #category : #'instance creation' }
169163
DataFrame class >> new: aPoint [
170164

@@ -1366,7 +1360,7 @@ DataFrame >> normalized [
13661360
"This methods returns a new DataFrame, without altering this one, that has all the columns normalized."
13671361

13681362
| normalizers normalizedColumns |
1369-
normalizers := (1 to: self anyOne size) collect: [ :e | self class defaultNormalizer new ].
1363+
normalizers := (1 to: self anyOne size) collect: [ :e | self class defaultNormalizerClass new ].
13701364

13711365
normalizedColumns := self columns
13721366
with: normalizers

0 commit comments

Comments
 (0)