Skip to content

Commit 33743ed

Browse files
Fixed python example in README
1 parent b00ff08 commit 33743ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ you should be able to execute the following in Python:
3333
```python
3434
>>> from skltemplate import TemplateEstimator
3535
>>> estimator = TemplateEstimator()
36-
>>> estimator.fit(np.arange(10), np.arange(10))
36+
>>> estimator.fit(np.arange(10).reshape(10, 1), np.arange(10))
3737
```
3838

3939
`TemplateEstimator` by itself does nothing useful, but it serves as an example

0 commit comments

Comments
 (0)