Module Expr Str ImportFrom alias Import alias ImportFrom alias alias alias alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr Num If CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignMult AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore TupleLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Num keyword Num Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Num keyword Num Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Num keyword Num Call AttributeLoad NameLoad attr Str Str keyword Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr While CompareGtE AttributeLoad AttributeLoad NameLoad attr attr Num body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad If CompareGt AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareGtE NameLoad NameLoad body Return NameLoad orelse If CompareLt Call AttributeLoad NameLoad attr Call NameLoad BinOpDiv BinOpSub NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Return NameLoad orelse Return NameLoad decorator_list decorator_list
N/A N/A Classes and functions for Simulated Annealing learner math exp N/A random pebl network result evaluator config pebl.learner.base * SALearnerStatistics N/A N/A __init__ N/A N/A self starting_temp delta_temp max_iterations_at_temp N/A N/A N/A N/A self temp starting_temp N/A N/A self iterations_at_temp 0 N/A N/A self max_iterations_at_temp max_iterations_at_temp N/A N/A self delta_temp delta_temp N/A N/A self iterations 0 N/A N/A self best_score 0 N/A N/A self current_score 0 N/A update N/A N/A self N/A N/A N/A N/A self iterations 1 N/A N/A self iterations_at_temp 1 N/A N/A N/A self iterations_at_temp N/A self max_iterations_at_temp N/A N/A N/A self temp N/A self delta_temp N/A N/A self iterations_at_temp 0 N/A N/A SimulatedAnnealingLearner N/A Learner N/A N/A _params N/A N/A N/A config FloatParameter simanneal.start_temp Starting temperature for a run. N/A N/A config atleast 0.0 default 100.0 N/A N/A config FloatParameter simanneal.delta_temp Change in temp between steps. N/A N/A config atleast 0.0 default 0.5 N/A N/A config IntParameter simanneal.max_iters_at_temp Max iterations at any temperature. N/A N/A config atleast 0 default 100 N/A N/A config StringParameter simanneal.seed Starting network for a greedy search. default __init__ N/A N/A self data_ prior_ N/A None None options N/A N/A Create a Simulated Aneaaling learner.

        For more information about Simulated Annealing algorithms, consult:

            1. http://en.wikipedia.org/wiki/Simulated_annealing
            2. D. Heckerman. A Tutorial on Learning with Bayesian Networks. 
               Microsoft Technical Report MSR-TR-95-06, 1995. p.35-36.

        Any config param for 'simanneal' can be passed in via options.
        Use just the option part of the parameter name.
        
         N/A N/A N/A N/A super SimulatedAnnealingLearner self __init__ data_ prior_ N/A N/A N/A config setparams self options N/A N/A N/A isinstance N/A self seed N/A network Network N/A N/A N/A self seed N/A N/A network Network N/A N/A self data variables N/A self seed N/A run N/A N/A self N/A N/A N/A Run the learner. N/A N/A self stats N/A SALearnerStatistics N/A self start_temp N/A self delta_temp N/A self max_iters_at_temp N/A N/A self result N/A N/A result LearnerResult self N/A N/A self evaluator N/A N/A evaluator fromconfig N/A self data N/A self seed N/A self prior N/A N/A N/A N/A self evaluator score_network N/A N/A N/A self seed copy N/A N/A N/A N/A self result start_run N/A curscore N/A N/A N/A self evaluator score_network N/A N/A N/A N/A self stats temp 1 N/A N/A N/A N/A newscore N/A N/A self _alter_network_randomly_and_score N/A N/A N/A CannotAlterNetworkException N/A N/A N/A N/A N/A N/A self result add_network N/A N/A self evaluator network newscore N/A N/A N/A self _accept newscore N/A N/A N/A N/A self stats current_score newscore N/A N/A N/A N/A self stats current_score N/A N/A self stats best_score N/A N/A N/A N/A self stats best_score N/A N/A self stats current_score N/A N/A N/A N/A N/A self evaluator restore_network N/A N/A N/A N/A self stats update N/A N/A N/A N/A self result stop_run N/A N/A self result N/A _accept N/A N/A self newscore N/A N/A N/A oldscore N/A N/A self stats current_score N/A N/A newscore oldscore N/A N/A True N/A N/A N/A N/A N/A random random N/A exp N/A N/A newscore oldscore N/A N/A self stats temp N/A N/A True N/A N/A False N/A N/A