TextFeatureSelection icon indicating copy to clipboard operation
TextFeatureSelection copied to clipboard

Python library for feature selection for text features. It has filter method, genetic algorithm and TextFeatureSelectionEnsemble for improving text classification models. Helps improve your machine le...

Results 2 TextFeatureSelection issues
Sort by recently updated
recently updated
newest added

Added Vocabulary and ngram_range parameter in TFIDF. Updated : TextFeatureSelectionGA ,_getPopulationAndMatrix , _computeFitness ,_get_parents, tfidfVectorizer .

`from TextFeatureSelection import TextFeatureSelection #Binary classification input_doc_list=new_df_4['txt'].values.tolist() target=new_df_4['target'].values.tolist() fsOBJ=TextFeatureSelection(target=target,input_doc_list=input_doc_list) result_df=fsOBJ.getScore() print(result_df)` That's my code and the error: `--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell 102 in 7 [5](vscode-notebook-cell:/Users/primadermawan/Documents/Pascasarjana%20UGM/Semester%203/Thesis/code/kode.ipynb#Y206sZmlsZQ%3D%3D?line=4) target=new_df_4['target'].values.tolist()...