HeaRTDroid is a rule-based inference engine both for Android mobile devices, and desktop solutions
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
pub:software:heartdroid:tutorials:tbo [2017/01/03 06:03] admin [Use case] |
pub:software:heartdroid:tutorials:tbo [2017/01/03 06:12] admin |
||
---|---|---|---|
Line 58: | Line 58: | ||
wm.setValueOf('recent_activity','on_foot') | wm.setValueOf('recent_activity','on_foot') | ||
</code> | </code> | ||
- | Wait for a minute (literally, as this is what was set in the formula) and run the inference again: | + | Wait for a minute (literally, as this is what was set in the formula) and run the inference again twice (to force that the ''on_foot'' will appear more than 80% during lsst minute): |
<code> | <code> | ||
model.run(wm,inference=gdi,tables=['parkingReminder']) | model.run(wm,inference=gdi,tables=['parkingReminder']) |