Allow to fill np.inf/-np.inf values if it occurs in InputData
Created by: J3FALL
It was discovered that if InputData contains inf/-inf values models can not be fitted correctly.
The same issue with nan-values was fixed via _fill_remaining_gaps in operation layer: if data comes to operation/model with nan values, it will be filled by mean or most frequent value.
In order to deal with inf values, the feature should be improved via the following:
- Add new tests that check models/operations that get InputData with inf values
- Check ImputationImplementation and improve it: add np.inf -> np.nan convertation in features/target
- Replace SimpleImputer from sklearn in _fill_remaining_gaps to new version of ImputationImplementation
- Add logging for this operations
- Check that it works correctly
For any details and suggestions, you can discuss it with me, @Dreamlone or @nicl-nno.