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:statistics [2017/01/23 09:17] admin [Use case] |
pub:software:heartdroid:tutorials:statistics [2019/04/10 06:54] (current) |
||
---|---|---|---|
Line 37: | Line 37: | ||
java -cp haquna.jar:. haquna.HaqunaMain --console stock-seller-simple.hqn | java -cp haquna.jar:. haquna.HaqunaMain --console stock-seller-simple.hqn | ||
</code> | </code> | ||
- | After running th script you should get the output that looks similar to the following one: | + | After running the script you should get the output that looks similar to the following one: |
<code> | <code> | ||
Attribute: real_profit_ratio = 0.8099999999999998 cf = 1.0 | Attribute: real_profit_ratio = 0.8099999999999998 cf = 1.0 | ||
Line 54: | Line 54: | ||
<code bash> | <code bash> | ||
java -cp haquna.jar:. haquna.HaqunaMain --console stock-seller-trend.hqn | java -cp haquna.jar:. haquna.HaqunaMain --console stock-seller-trend.hqn | ||
+ | </code> | ||
+ | |||
+ | After running the script you should get the output that looks similar to the following one: | ||
+ | <code> | ||
+ | Attribute: real_profit_ratio = 0.8099999999999998 cf = 1.0 | ||
+ | Attribute: sell_price = null cf = 1.0 | ||
+ | Attribute: price_trend = 1.3621621621621627 cf = 1.0 | ||
+ | Attribute: price = 211.0 cf = 1.0 | ||
+ | Attribute: sell = false cf = 1.0 | ||
+ | Attribute: buy_price = 100.0 cf = 1.0 | ||
+ | Attribute: total_profit = 0.0 cf = 1.0 | ||
+ | Attribute: profit_ratio = 2.11 cf = 1.0 | ||
+ | Attribute: desired_profit_ratio = 1.3 cf = 1.0 | ||
</code> | </code> | ||