LSSTDESC / RESSPECT

The RESSPECT project is a result from an inter-collaboration agreement established between the Cosmostatistics Initiative (COIN) and the LSST Dark Energy Science Collaboration (DESC) with the goal of developing a recommendation system for telescope resource allocation able to optimize photometric supernova cosmology anaylsis.
MIT License
1 stars 0 forks source link

Scaffolding for pluggable components #32

Closed drewoldag closed 1 month ago

drewoldag commented 2 months ago

A placeholder issue for implementing system for pluggable components. This likely needs to broken up into a handful of smaller, more focused issues.

drewoldag commented 1 month ago

One place where we can add simple scaffolding is in database.py around lines 1347-1390. @jeremykubica suggested a simple registration system with a parent class and then assorted subclasses this makes a lot of sense in this case.

@AmandaWasserman pointed out that down the line, we'll probably want to let people bring their own search strategy (or other classes) - we'll keep that in mind and make sure the registration system can handle that.

drewoldag commented 1 month ago

Also checkout database.py lines:

drewoldag commented 1 month ago

After chatting with Amanda, the three classes (or will likely become classes) that should be made pluggable are:

drewoldag commented 1 month ago

Pluggable classifiers has been mostly taken care of with PR #45. There are a couple of follow up issues that should be addressed with #48 and #49.

After those, we should move over to making the feature extractors pluggable.