-
Notifications
You must be signed in to change notification settings - Fork 16
Sensorization #568
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
rumackaaron
wants to merge
20
commits into
dv-package
Choose a base branch
from
sensorization
base: dv-package
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
Sensorization #568
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
72995f7
Initial sensorization commit
rumackaaron e95df8b
Column names from config
rumackaaron 422f61f
Faster code, fix global regression fit
rumackaaron 24435c6
Option to fit without intercept
rumackaaron 5f0d9e4
Sensorize tests
rumackaaron df73cfc
Fix linting
rumackaaron 96066f9
Intercept fit method based on params
rumackaaron ad8d81c
Config for static sensorization
rumackaaron 50afd0e
Column name bug
rumackaaron 0a12976
Static sensorization
rumackaaron 7997fa8
Remove debug statements
rumackaaron babd1e8
Revert column names to old style
rumackaaron c2e3b6f
Get geo values from different df
rumackaaron e3a8886
Test static sensorization
rumackaaron d353e78
Merge branch 'dv-package' into sensorization
rumackaaron a97d344
Update geo_maps merge
rumackaaron 02a9361
Use se variable for Jeffreys
rumackaaron 2b2352b
Update delphi utils
rumackaaron f831b0a
Refactor to use geomapper
rumackaaron e899740
Write sensorization coefs to csv
rumackaaron 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
[DESIGN] | ||
|
||
min-public-methods=1 | ||
[MESSAGES CONTROL] | ||
|
||
disable=logging-format-interpolation, | ||
too-many-locals, | ||
too-many-arguments, | ||
# Allow pytest functions to be part of a class. | ||
no-self-use, | ||
# Allow pytest classes to have one test. | ||
too-few-public-methods | ||
|
||
[MESSAGES CONTROL] | ||
[BASIC] | ||
|
||
# Allow arbitrarily short-named variables. | ||
variable-rgx=[a-z_][a-z0-9_]* | ||
argument-rgx=[a-z_][a-z0-9_]* | ||
attr-rgx=[a-z_][a-z0-9_]* | ||
|
||
[DESIGN] | ||
|
||
disable=R0801, C0330, E1101, E0611, C0114, C0116, C0103, R0913, R0914, W0702 | ||
# Don't complain about pytest "unused" arguments. | ||
ignored-argument-names=(_.*|run_as_module) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.PHONY = venv, lint, test, clean | ||
|
||
dir = $(shell find ./delphi_* -name __init__.py | grep -o 'delphi_[_[:alnum:]]*') | ||
|
||
venv: | ||
python3.8 -m venv env | ||
|
||
install: venv | ||
. env/bin/activate; \ | ||
pip install wheel ; \ | ||
pip install -e . | ||
|
||
lint: | ||
. env/bin/activate; \ | ||
pylint $(dir); \ | ||
pydocstyle $(dir) | ||
|
||
test: | ||
. env/bin/activate ;\ | ||
(cd tests && ../env/bin/pytest --cov=$(dir) --cov-report=term-missing) | ||
|
||
clean: | ||
rm -rf env | ||
rm -f params.json |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
# -*- coding: utf-8 -*- | ||
"""Common Utility Functions to Support DELPHI Indicators | ||
""" | ||
"""Common Utility Functions to Support DELPHI Indicators.""" | ||
|
||
from __future__ import absolute_import | ||
|
||
from .archive import ArchiveDiffer, GitArchiveDiffer, S3ArchiveDiffer | ||
from .export import create_export_csv | ||
from .utils import read_params | ||
|
||
from .slack_notifier import SlackNotifier | ||
from .logger import get_structured_logger | ||
from .geomap import GeoMapper | ||
from .smooth import Smoother | ||
from .signal import add_prefix, public_signal | ||
|
||
__version__ = "0.1.0" |
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.