Skip to content

Outdated documentation for sel_bw #166

@ed22699

Description

@ed22699

Documentation states golden as a possible parameter:

mgwr/mgwr/sel_bw.py

Lines 216 to 217 in aafdf6a

search_method : string
bw search method: 'golden', 'interval'

however uses golden_section instead in implementation:
def search(self, search_method='golden_section', criterion='AICc',

mgwr/mgwr/sel_bw.py

Lines 337 to 343 in aafdf6a

if self.search_method == 'golden_section':
a, c = self._init_section(self.X_glob, self.X_loc, self.coords,
self.constant)
delta = 0.38197 #1 - (np.sqrt(5.0)-1.0)/2.0
self.bw = golden_section(a, c, delta, gwr_func, self.tol,
self.max_iter, self.bw_max, self.int_score,
self.verbose)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions