0xc1c4da / narjure

Moved to:
https://github.com/opennars/opennars2
GNU General Public License v2.0
6 stars 4 forks source link

Default Parameters & Clamp #1

Open 0xc1c4da opened 8 years ago

0xc1c4da commented 8 years ago

For TODO https://github.com/jarradh/narjure/blob/7cc1dc912a1d80852ce109227b498971b13be4db/src/narjure/cycle.clj#L198

DEFAULT_JUDGEMENT_CONFIDENCE = 0.9 DEFAULT_JUDGEMENT_PRIORITY = 0.5 DEFAULT_JUDGEMENT_DURABILITY = 0.8 //was 0.8 in 1.5.5; 0.5 after DEFAULT_QUESTION_PRIORITY = 0.5 DEFAULT_QUESTION_DURABILITY = 0.9 DEFAULT_GOAL_CONFIDENCE = 0.9 DEFAULT_GOAL_PRIORITY = 0.75 DEFAULT_GOAL_DURABILITY = 0.8 DEFAULT_QUEST_PRIORITY = 0.5 DEFAULT_QUEST_DURABILITY = 0.9

looks like judgement, goal and question all have different defaults, as per https://github.com/opennars/opennars/blob/a7c1637e4df882340161d51db623e1d1b3fb1524/nars_logic/src/main/java/nars/budget/Budget.java#L192

Not sure whats going on DEFAULT_JUDGEMENT_DURABILITY, still appears to be 0.8

Values found from https://github.com/opennars/opennars/blob/bigpicture2/nars_logic/src/main/java/nars/Global.java#L119

I can't seem to find a clamp on these values in Narjure, only check is on Narsese parser? this will bite us later I think.

0xc1c4da commented 8 years ago

fyi we should probably put all these system values into a single location, as we'll be evolving them independently from the main system later

0xc1c4da commented 8 years ago

TonyLo: DEFAULT_JUDGEMENT_DURABILITY has been tried with various values, it was probably just a point in time that happened to save that particular value TonyLo: FYI, depending on the tests I am running I change that value quite regularly TonyLo: durability is a key factor in determining how long a term/concept remains in memory - so adjusting this value changes the dynamics significantly - for example, a system with perception may need a lower duration value than a NAL only input system to ensure that the influx of perceptions is more quickly forgotten TonyLo: The reason durability is so high at the moment (0.8) is due to the fact that the control system is incomplete (i.e. no emotion, no NAL 9 mental operators). So high durability is used to compensate for the lack oof the other control aspects - it should be possible to reduce the default once emotion #2 and NAL 9 (and probably pereption) are implemented. My view is that 0.8 is high and should be reserved

0xc1c4da commented 8 years ago

Other parameters that exist are in opennars/nars_logic/src/main/java/nars/nar/Default.java in the initDefaults method.

0xc1c4da commented 8 years ago

We should probably copy all parameters that are not greyed on in intellij from global.java