How to extract the decision rules from scikit-learn decision-tree?
Can I extract the underlying decision-rules (or ‘decision paths’) from a trained tree in a decision tree as a textual list? Something like: … Read more
Can I extract the underlying decision-rules (or ‘decision paths’) from a trained tree in a decision tree as a textual list? Something like: … Read more
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so … Read more
I’m trying to train a CNN to categorize text by topic. When I use binary cross-entropy I get ~80% accuracy, with categorical cross-entropy … Read more
How do I initialize weights and biases of a network (via e.g. He or Xavier initialization)? 10 Answers 10
Is it possible to specify your own distance function using scikit-learn K-Means Clustering? 8 Answers 8
I have a machine learning classification problem with 80% categorical variables. Must I use one hot encoding if I want to use some … Read more
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be … Read more
I have a pandas dataframe and I wish to divide it to 3 separate sets. I know that using train_test_split from sklearn.cross_validation, one … Read more
How do I save a trained Naive Bayes classifier to disk and use it to predict data? I have the following sample program … Read more
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question … Read more