Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

import numpy as np import matplotlib.pyplot as plt index = 0 missClassifiedIndexes = [] for label, predit in zip(y_test, predictions): if label != predict: missClassifiedIndexes.append(index) index = +1

import numpy as np
import matplotlib.pyplot as plt
indox = 0
missClassifiedIndexes = []
for label, predit in zip(y_test, predictions):
    if label != predict:
        missClassifiedIndexes.append(index)
        index = +1
 
PREVIOUS NEXT
Tagged: #import #numpy #np #import #plt #index #missClassifiedIndexes #predit #label #index
ADD COMMENT
Topic
Name
6+1 =