-
Notifications
You must be signed in to change notification settings - Fork 82
Add kw arg to normalize kernel in distance weights. #791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sjsrey
wants to merge
39
commits into
pysal:main
Choose a base branch
from
sjsrey:exp/kernel
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
74abd07
Allow for normalize=True for gaussian kernel as pdf, False K(0)=1
sjsrey a46413a
bool not binary for type
sjsrey ca5b0c8
Add tests for normalize kw in Kernel
sjsrey 335a76f
numpy testing
sjsrey 2c0cdc5
Correct reference for kernel defs
sjsrey c18939e
prototyping new _kernels.py
sjsrey c53ee7c
triangular (#29)
knaaptime 645edbc
move primative kernels out to libpysal._kernels.py
sjsrey 37fe0f6
renaming kernels.py
sjsrey 29d859c
populate self-weight with K(0)
sjsrey 7824797
modify imports
sjsrey cd15d2a
Merge branch 'main' into exp/kernel
sjsrey c5f937e
roll back graph kernels
sjsrey 6d38dd0
Add tests and illustrative nb
sjsrey 46a7e86
Correct Gaussian kernel function
sjsrey a1b3353
Update tests for gaussian correction
sjsrey 162e761
ruff format rules and remove test nbs
sjsrey f7a1329
ruff tests
sjsrey d7cdf5b
Relocate kernels from graph to libpysal for reuse and centralization
sjsrey 0b9662c
move taper/decay logic out of graph module (#30)
ljwolf c9f3b44
replay levi's change to not remove self-weight (#32)
knaaptime afc686c
gaussian constant term
sjsrey 16bee5b
update tests for trim
sjsrey 54e613c
import proper kernel.py in graph
sjsrey 26d0ea3
Add exclude_loops=True for kernels on graph
sjsrey 9ad0af2
Fix gaussian kernel.
sjsrey 92b53ec
The coplanar tests assume we don't taper. In main this could be a bug?
sjsrey b5231a6
clean up doc strings
sjsrey 37bdfd2
update tests for correct Gaussian kernel
sjsrey 9e437ca
update tests for gaussian kernel
sjsrey 709098b
Do not decay boxcar kernel
sjsrey 83dd562
Update reference for kernels
sjsrey a7c6223
cast boxcar kernel to float
sjsrey b909e66
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f689835
formatting and import sorting
sjsrey 6471872
skip tests if pyproj not available
sjsrey 4306257
Spelling
sjsrey 02ba6a8
np.in1d is deprecated, using np.isin instead
sjsrey a5fdb75
Don't assign to unused variable in pytest
sjsrey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.