You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f3967d0
Browse filesBrowse the repository at this point in the historyBrowse files
authored
ENH: Add decay and taper arguments to normalize kernel in distance-based weights (#791)
* Allow for normalize=True for gaussian kernel as pdf, False K(0)=1
* bool not binary for type
* Add tests for normalize kw in Kernel
* numpy testing
* Correct reference for kernel defs
* prototyping new _kernels.py
* triangular (#29)
Co-authored-by: knaaptime <knaaptime@Mac.attlocal.net>
* move primative kernels out to libpysal._kernels.py
* renaming kernels.py
* populate self-weight with K(0)
* modify imports
* roll back graph kernels
* Add tests and illustrative nb
* Correct Gaussian kernel function
* Update tests for gaussian correction
* ruff format rules and remove test nbs
* ruff tests
* Relocate kernels from graph to libpysal for reuse and centralization
* move taper/decay logic out of graph module (#30)
* replay levi's change to not remove self-weight (#32)
Co-authored-by: knaaptime <knaaptime@magneto.local>
* gaussian constant term
* update tests for trim
* import proper kernel.py in graph
* Add exclude_loops=True for kernels on graph
* Fix gaussian kernel.
* The coplanar tests assume we don't taper. In main this could be a bug?
* clean up doc strings
* update tests for correct Gaussian kernel
* update tests for gaussian kernel
* Do not decay boxcar kernel
* Update reference for kernels
* cast boxcar kernel to float
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* formatting and import sorting
* skip tests if pyproj not available
* Spelling
* np.in1d is deprecated, using np.isin instead
* Don't assign to unused variable in pytest
* Docs for kernels
* ruff formatting
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* ruff take 2
* more narrative on kernels
* Pass decay and trim kw args into graph kernels
* add decay to graph/_kernel.py
* If k is specified we need the bandwith set to max distance
* Handle taper appropriately
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* ruff
* Propagate decay and taper kwargs
* ruff
* ruff
* use lps kernel
* Propagate decay and taper to triangulation builders
* update build_triangulation
* pass decay and taper in triangulation functions
---------
Co-authored-by: eli knaap <ek@knaaptime.com>
Co-authored-by: knaaptime <knaaptime@Mac.attlocal.net>
Co-authored-by: Levi John Wolf <levi.john.wolf@gmail.com>
Co-authored-by: knaaptime <knaaptime@magneto.local>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: James Gaboardi <jgaboardi@gmail.com>
0 commit comments