Join the Inspire AMA with Joshua Burkhow, March 31-April 4. Ask, share, and connect with the Alteryx community!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Image Recognition Tool Example

MH
5 - Atom

There might be a really obvious answer I'm simply missing but on the Image Recognition Tool example there are two groups of pictures to use in the training: broken phones and not broken phones.  Going through the example the first formula used is: "if contains([FullPath], 'broken') then 'Broken' else 'Not Broken' endif" which looks to only flag them all as broken since it meets the first condition.  

 

As a result all 82 pictures are labeled as a broken phone, even those that are in the nonbroken folder, and the model returns all pictures as being classified as broken.  Should the formula be switched to "if contains([FullPath], 'not broken') then 'Not Broken' else 'Broken' endif" or did I not understand the example correctly.

 

Thank you

2 REPLIES 2
alexnajm
18 - Pollux
18 - Pollux

It would make sense for that Formula to switch it around like you indicated! "Not Broken: contains the word "Broken" which is why the first one doesn't work

MH
5 - Atom

Ok yea that's what I thought.  Thank you for taking a look!

Labels
Top Solution Authors