Please put a more informative message:

```python
raise ValueError("Unknown strategy type: %s, expected mean, median or constant"
    % self.strategy)
```