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 | Previous revision | ||
pub:software:heartdroid:tutorials:tbo [2017/01/03 06:12] admin |
pub:software:heartdroid:tutorials:tbo [2017/01/23 10:31] admin |
||
---|---|---|---|
Line 49: | Line 49: | ||
Then, you can run a script that loads the model, sets the initial state and run the inference: | Then, you can run a script that loads the model, sets the initial state and run the inference: | ||
<code> | <code> | ||
- | java -cp haquna.jar:. haquna.HaqunaMain --console test-script.hmr | + | java -cp haquna.jar:. haquna.HaqunaMain --console test-script.hqn |
</code> | </code> | ||
Line 67: | Line 67: | ||
The sample output may look as follows: | The sample output may look as follows: | ||
<code> | <code> | ||
- | Attribute: notification = free_to_park cf = 0.8097445 | + | Attribute: notification = free_to_park cf = 0.80999994 |
- | Attribute: daytype = workday cf = 1.0 | + | Attribute: daytype = weekend cf = 1.0 |
- | Attribute: hour = 6.0 cf = 1.0 | + | Attribute: hour = 13.0 cf = 1.0 |
Attribute: recent_activity = on_foot cf = 1.0 | Attribute: recent_activity = on_foot cf = 1.0 | ||
- | Attribute: vehicle_action = start_parking cf = 0.8097445 | + | Attribute: vehicle_action = start_parking cf = 0.80999994 |
Attribute: payment = null cf = 1.0 | Attribute: payment = null cf = 1.0 | ||
Attribute: location = pay_zone cf = 1.0 | Attribute: location = pay_zone cf = 1.0 | ||
Attribute: tariff = free cf = 1.0 | Attribute: tariff = free cf = 1.0 | ||
- | Attribute: past_activity = in_vehicle cf = 0.89971614 | + | Attribute: past_activity = in_vehicle cf = 0.9 |
- | Attribute: day = tue/2 cf = 1.0 | + | Attribute: day = sun/7 cf = 1.0 |
</code> | </code> | ||