JamesRitchie / scikit-rvm

Relevance Vector Machine implementation using the scikit-learn API.
229 stars 73 forks source link

Feature importance #16

Open Warvito opened 5 years ago

Warvito commented 5 years ago

Hi,

Is there any way to get something similar to the feature importance of the model (for example, in SVM we can check the feature weights with .coef and use the abs(svm.coef) as the importance)?

Yuexiaoguang1993 commented 5 years ago

Same question,Have you found answers?

woctezuma commented 4 years ago

I have not found an answer, but I have found another repository. :)

https://github.com/Mind-the-Pineapple/sklearn-rvm

cheebit commented 3 months ago

np.dot(self.m[:-1], self.relevance) ? https://github.com/Mind-the-Pineapple/sklearn-rvm/blob/master/sklearn_rvm/em_rvm.py#L106