Alteryx Designer Desktop Discussions

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

Error in Image Recognition Example

jzamora
7 - Meteor

jzamora_0-1669914467110.png

The expression in the formula:

jzamora_1-1669914592244.png

 

if contains([FullPath], 'broken') then 'Broken' else 'Not Broken' endif

only returns "Broken" values son the model is trained only with one label

 

to correct replace with: 

if contains([FullPath], 'labeled--broken--') then 'Broken' else 'Not Broken' endif

 

@AlteryxProducts please report this error so the example can be fixed

@Garabujo7 

 

2 REPLIES 2
Garabujo7
Alteryx
Alteryx

Hola Juanpa,

 

Thanks for the heads-up, well let the team aware of this.

 

Gabriel

Colgan
ACE Emeritus
ACE Emeritus

The error is still in the "Image Recognition.yxmd" sample.   

      if contains([FullPath], 'broken') then 'Broken' else 'Not Broken' endif   

           (sets all records incorrectly as Broken  - due to "broken" being in all [FullPath] records.  

should be something similar to:

      if contains([FullPath], 'notbroken') then 'Not Broken' else 'Broken' endif   

            (sets all records correctly as Not Broken and Broken)

 

     

Labels