Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hi,
I am following this video Analytics manager 7.4: Part 2 of 2. Configure Analysis Event, Real-Time Scoring and Showing ThingWorx Analytics Manager's results (ThingPredictor) in a Mashup
I am attaching three screen shot which gives the graphical sequence of execution to determine predicted score value. Here property "condition" is my target value. And "datacollection" property is where my result of scoring will be persisted.
I have written below service code but no luck, I am not seeing any output.
var score = me.dataCollection.getRow(0).predictiveModelCollection.getRow(0).predictiveScore;
var tableLength = score.rows.length;
for(var x =0; x<tableLength; x++) {
var row = score.rows;
if(row.fieldName == "condition") {
me.condition_predicted = row.fieldValue;
x = tableLength;
}
}
result = me.condition_predicted;
Please do let me know, if I have done any mistake here.
Thanks,
Azim
Solved! Go to Solution.
Hi ,
My bad there were some issues in my code. After inserting logs I came to know and rectified it.
Thanks,
Azim
Below are the screens
1)
2)
3)
4)
Christophe Morfin Neel Sampat John Greiner I think this needs to be moved to Machine learning but it looks to be internal only.
Hi Azim,
Are there any errors or warnings in your Application Log in ThingWorx?
Thanks,
John
Hi ,
My bad there were some issues in my code. After inserting logs I came to know and rectified it.
Thanks,
Azim