Update README.md

This commit is contained in:
George Mihaila
2020-09-18 00:05:43 -05:00
committed by GitHub
parent a532e99680
commit b3d5c4f912

View File

@@ -96,7 +96,7 @@ plot_confusion_matrix(y_true, y_pred, classes='', normalize=False, title=None, c
verbose=0, magnify=1.2, dpi=50)
```
|Description:|This function prints and plots the confusion matrix.<br>Normalization can be applied by setting `normalize=True`.
|Description:|This function prints and plots the confusion matrix.<br>Normalization can be applied by setting normalize=True.
<br>y_true needs to contain all possible labels.|
|:-|:-|
|**Parameters:**|**:param** <br>&nbsp;&nbsp; y_true: array labels values. <br>**:param** <br>&nbsp;&nbsp; y_pred: array predicted label values.**:param**<br>&nbsp;&nbsp; classes: array list of label names. <br>**:param** <br>&nbsp;&nbsp; normalize: bool normalize confusion matrix or not. <br>**:param** <br>&nbsp;&nbsp; title: str string title of plot. <br>**:param** <br>&nbsp;&nbsp; cmap: plt.cm plot theme. <br>**:param** <br>&nbsp;&nbsp; image: str path to save plot in an image. <br>**:param** <br>&nbsp;&nbsp; verbose: int print confusion matrix when calling function. <br>**:param** <br>&nbsp;&nbsp; magnify: int zoom of plot. <br>**:param** <br>&nbsp;&nbsp; dpi: int clarity of plot.|