OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Retrieve list of training features names from classifier

  • Thread starter Thread starter user6903745
  • Start date Start date
U

user6903745

Guest
Is there a way to retrieve the list of feature names used for training of a classifier, once it has been trained with the fit method? I would like to get this information before applying to unseen data. The data used for training is a pandas DataFrame and in my case, the classifier is a RandomForestClassifier.
<p>Is there a way to retrieve the list of feature names used for training of a classifier, once it has been trained with the <code>fit</code> method? I would like to get this information before applying to unseen data.
The data used for training is a pandas <code>DataFrame</code> and in my case, the classifier is a <code>RandomForestClassifier</code>.</p>
 

Latest posts

M
Replies
0
Views
1
Muhammad Rafli Aditya. H
M
Top