Data Science Revealed by Tshepo Chris Nokeri

Data Science Revealed by Tshepo Chris Nokeri

Author:Tshepo Chris Nokeri
Language: eng
Format: epub
ISBN: 9781484268704
Publisher: Apress


Classification Report

Table 6-5 highlights important classification evaluation metrics. It gives us an overview of how well the classifier performs. See Listing 6-9.creportLDA = pd.DataFrame(metrics.classification_report(y_test,y_predLDA, output_dict=True)).transpose()

creportLDA

Listing 6-9Classification Report

Table 6-5Classification Report

precision

recall

f1-score

support

0

1.0

1.0

1.0

263.0

1

1.0

1.0

1.0

83.0

accuracy

1.0

1.0

1.0

1.0

macro avg

1.0

1.0

1.0

346.0



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.