You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method requires pharo-ai to be loaded into the image
Which is strange because DataFrame should not depend on AI
So we need to check, maybe it's the method that was accidentally committed here
dataPreProcessingEncodeWith: anEncoder
"This method is here to speed up pharo-ai/data-preprocessing algos without coupling both projects."
| copycache |
copy :=self copy.
cache :=IdentityDictionarynew.
self columns doWithIndex: [ :dataSerie:columnIndex |
| category |
category := cache at: columnIndex ifAbsentPut: [ ((anEncoder categories at: columnIndex) collectWithIndex: [ :elem:index | elem -> index ]) asDictionary ].
dataSerie doWithIndex: [ :element:rowIndex |
copy at: rowIndex at: columnIndex put: (category at: element ifAbsent: [ AIMissingCategorysignalFor: element ]) ] ].
^ copy
The text was updated successfully, but these errors were encountered:
This method requires pharo-ai to be loaded into the image
Which is strange because DataFrame should not depend on AI
So we need to check, maybe it's the method that was accidentally committed here
The text was updated successfully, but these errors were encountered: