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:hmr_quickstart [2016/12/24 12:42] admin |
pub:software:heartdroid:tutorials:hmr_quickstart [2017/01/23 09:42] admin [Use case] |
||
---|---|---|---|
Line 28: | Line 28: | ||
The full model can be downloaded here: {{:pub:software:heartdroid:tutorials:urban-helper-easy.hmr|Parking Model}} | The full model can be downloaded here: {{:pub:software:heartdroid:tutorials:urban-helper-easy.hmr|Parking Model}} | ||
+ | |||
+ | |||
+ | You can try running the inference by providing manually values of these attributes with [[pub:software:heartdroid:tutorials:haquna|HaQuNa]] commandline shell. | ||
+ | The comman for running the inference can look as follows: | ||
+ | <code bash> | ||
+ | java -cp haquna.jar:. haquna.HaqunaMain --model urban-helper-easy.hmr \ | ||
+ | --tables ['parkingReminder'] --inference gdi \ | ||
+ | --initial-state [day=mon,hour=14,location=pay_zone]</code> | ||
+ | |||
+ | For more information on how to configure the inference process, see [[pub:software:heartdroid:tutorials:inference_config|Configuring inference process]] tutorial. | ||
Line 150: | Line 160: | ||
For more details on the time-based operators see [[pub:software:heartdroid:tutorials:tbo|Time-based operators]] and[[pub:software:heartdroid:tutorials:statistics|Statistical operators]] tutorials. | For more details on the time-based operators see [[pub:software:heartdroid:tutorials:tbo|Time-based operators]] and[[pub:software:heartdroid:tutorials:statistics|Statistical operators]] tutorials. | ||
- | After the list of conditions followed by ''==>'' (then) operator, there goes the list of conclusions of the form '' attribute set value/expression''. | + | After the list of conditions followed by ''<nowiki>==></nowiki>'' (then) operator, there goes the list of conclusions of the form '' attribute set value/expression''. |
The expression should be a value from the attribute's domain, or more complex expression involving mathematical and statistical operators and functions. | The expression should be a value from the attribute's domain, or more complex expression involving mathematical and statistical operators and functions. | ||
The list of admissible expressions for the conclusion can be found in [[pub:software:heartdroid:documentation:hmr#rules|HMR grammar]] page. | The list of admissible expressions for the conclusion can be found in [[pub:software:heartdroid:documentation:hmr#rules|HMR grammar]] page. |