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:
10
README.md
10
README.md
@@ -96,11 +96,11 @@ plot_confusion_matrix(y_true, y_pred, classes='', normalize=False, title=None, c
|
|||||||
verbose=0, magnify=1.2, dpi=50)
|
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. |
|
||||||
<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. |
|
||||||
|**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.|
|
| **Returns:** | |
|
||||||
|**Returns:**||
|
|
||||||
|
|
||||||
|
|
||||||
### download_from [[source]](https://github.com/gmihaila/ml_things/blob/9ea16e6df75a907fadf8c40b29ef7b3da9d37701/src/ml_things/web_related.py#L21)
|
### download_from [[source]](https://github.com/gmihaila/ml_things/blob/9ea16e6df75a907fadf8c40b29ef7b3da9d37701/src/ml_things/web_related.py#L21)
|
||||||
|
|||||||
Reference in New Issue
Block a user