Suppose, i have some models created and fitted in scikit-learn
.
model_rc = RidgeClassifier(class_weight='auto')
model_rc.fit(x_train, y_train)
model_dt = DecisionTreeClassifier()
model_dt.fit(x_train, y_train)
...
How can i get linear coefficients for RidgeClassifier
or tree for DecisionTree
.
In other words, I'm looking for R
summary
analogue in scikit-learn
.
Thanks in advance!