Aug. 1, 2022, 5 p.m. | /u/WhyNotML

Deep Learning www.reddit.com

The model is giving 0.9 acc, and 0.3 loss, but when I draw the confusion matrix, all the anomalies are labeled FPs, it does not make sense to me and ROC curve is straight line thru the middle. How do I interpret it? Loss and Acc curves look normal though. Could someone point me in a good direction?

​

`testing_datagen = ImageDataGenerator(rescale=1/255)`

`testing_generator = testing_datagen.flow_from_directory(`

`TESTINGDIR,`

`classes = ['anomaly', 'normal'],`

`batch_size=1,`

`class_mode='binary',`

`shuffle=True`

`,color_mode="rgb")`

​

`model.evaluate(testing_generator)`

`STEP_SIZE_TEST=testing_generator.n//testing_generator.batch_size`

`testing_generator.reset()`

`preds = …

accuracy deeplearning giving good loss roc

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US