I believe you can use these fields from the base class:

```
int max_k, var_count;
int total;
bool regression;
```