-
Notifications
You must be signed in to change notification settings - Fork 0
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
generalize fit() for non Ia applications #56
Conversation
Click here to view all benchmarks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I think this looks fine. I left a couple of docstring suggestions. Nothing critical.
additional_info: list = []): | ||
""" | ||
Perform fit to all objects from a generalized dataset. | ||
|
||
Parameters | ||
---------- | ||
data_dic: str | ||
Dictionary containing the photometry for all light curves. | ||
data_dic: list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data_dic: list | |
data_dic: list[dict] |
Minor point - doesn't need to be fixed in this PR - but since data_dic
is now expected to be a list
, it might make sense to simply call it data
.
Co-authored-by: Drew Oldag <[email protected]>
* generalize fit() for non Ia applications * Update src/resspect/fit_lightcurves.py Co-authored-by: Drew Oldag <[email protected]> --------- Co-authored-by: Drew Oldag <[email protected]>
* WIP - Initial work to implement pluggable feature extractors - Unit tests are not passing, need to make a thorough scan of the code for lowercase references to feature extractors. i.e. "bazin" vs. "Bazin". * Initial commit for pluggable query_strategies. (#59) * generalize fit() for non Ia applications (#56) * generalize fit() for non Ia applications * Update src/resspect/fit_lightcurves.py Co-authored-by: Drew Oldag <[email protected]> --------- Co-authored-by: Drew Oldag <[email protected]> * Attempted to clean up references to default values of `bazin` and replaced with `Bazin`. * Introduce logic to ease the transition from lower case to upper case feature extractor names. Adding tests. --------- Co-authored-by: AmandaWasserman <[email protected]>
Generalize so that fit() can be used for other instances than Ia/non Ia.
Still need to work on ideas for a multi-class abilitiy.