Skip to content

Commit

Permalink
DOC: Fix readme typo (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
TyMick authored Oct 10, 2020
1 parent 5ed2646 commit 9f633f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ The default implementation of `preprocess_y` for `KerasClassifier` attempts to a

### Multi-input problems

As mentioned above, `Scikit-Learn` does not support multi-input problems since `X` must be a sinlge `numpy.array`. However, in order to extend this functionality, the wrappers provide a `preprocess_X` method that allows mapping a single `numpy.arary` to a list of `numpy.array` for multi-input `Keras` models. For example:
As mentioned above, `Scikit-Learn` does not support multi-input problems since `X` must be a single `numpy.array`. However, in order to extend this functionality, the wrappers provide a `preprocess_X` method that allows mapping a single `numpy.arary` to a list of `numpy.array` for multi-input `Keras` models. For example:

```python3
class FunctionalAPIMultiInputClassifier(KerasClassifier):
Expand Down

0 comments on commit 9f633f5

Please sign in to comment.