christophM / rulefit

Python implementation of the rulefit algorithm
MIT License
406 stars 111 forks source link

add iloc for pandas slicing #42

Closed YiwanChen closed 2 years ago

YiwanChen commented 3 years ago

I use the module for my data, but get the dataframe slicing errors, solve the problem by adding dataframe iloc

chriswbartley commented 2 years ago

It is designed to used array-like inputs X, rather than pandas dataframes (using the sklearn pattern). So we don't want to make it dataframe specific.