Posts by fmv1992 • 51 points
4 posts
-
1
votes2
answers508
viewsA: Most Important Attributes in Random Forest Classifier
Reading the documentation is always a good first step. In any case, the manual: feature_importances_ : array of Shape = [n_features] The Feature importances (the Higher, the more Important the…
-
0
votes1
answer66
viewsA: Problem with argument substitution in function
First: your code does not work without modifications. It is not a good way to call for help. In his function main the argument hash_type is not used. You upload the file to archive = open(wordlist,…
-
0
votes1
answer982
viewsA: Error generating matplotlib graph
Tip 1: use the method tightlayout Add the function tightlayout before save your image: plt.bar(pos,repetic,align='center',color='#b8ff5c') plt.tightlayout()…
-
1
votes1
answer785
viewsA: Remove duplicate elements from a python chained list
Hello, I am not debugging the error in your code but python has a native data type which looks like an unordered list, and removes duplicates by definition: set (set in Portuguese). Example:…