Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- import pandas as pd
- d = {
- 'Knn': {'Separted':0.78, 'Joint':0.74},
- 'Naive Bayes': {'Separted':0.74, 'Joint':0.67},
- 'Decesion Trees': {'Separted':0.73, 'Joint':0.75},
- 'Random Forest': {'Separted':0.83, 'Joint':0.73},
- }
- pd.DataFrame(d).T.plot(kind='bar')
- plt.ylabel('F-Scores')
- plt.xticks(rotation=0)
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement