Module AmpliVision.src.ML.evaluator

Functions

def plot_confusion_matrix(predictions: list, y_true: list, TARGETS, TAG)
def plot_evaluation_results(predictions: list, y_true: list, TARGETS)
def plot_f1_score(predictions: list, y_true: list, TARGETS, TAG)
def preprocess_image(image)
def resize_image(image)
def test_model_(path_to_imgs, scanned_path, TARGETS, MODEL='DENV')

Test model using scanned images (not generated)

def test_model_generated(dataset, clf, TARGETS, TAG)