mirror of
https://github.com/gmihaila/ml_things.git
synced 2021-10-04 01:29:04 +03:00
Update README.md
This commit is contained in:
@@ -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> y_true: array labels values. <br>**:param** <br> y_pred: array predicted label values.**:param**<br> classes: array list of label names. <br>**:param** <br> normalize: bool normalize confusion matrix or not. <br>**:param** <br> title: str string title of plot. <br>**:param** <br> cmap: plt.cm plot theme. <br>**:param** <br> image: str path to save plot in an image. <br>**:param** <br> verbose: int print confusion matrix when calling function. <br>**:param** <br> magnify: int zoom of plot. <br>**:param** <br> dpi: int clarity of plot.|
|
||||
|
||||
Reference in New Issue
Block a user