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

Senior Machine Learning Engineer

@ GPTZero | Toronto, Canada

ML/AI Engineer / NLP Expert - Custom LLM Development (x/f/m)

@ HelloBetter | Remote

Doctoral Researcher (m/f/div) in Automated Processing of Bioimages

@ Leibniz Institute for Natural Product Research and Infection Biology (Leibniz-HKI) | Jena

Seeking Developers and Engineers for AI T-Shirt Generator Project

@ Chevon Hicks | Remote

Principal Data Architect - Azure & Big Data

@ MGM Resorts International | Home Office - US, NV

GN SONG MT Market Research Data Analyst 11

@ Accenture | Bengaluru, BDC7A