-
Notifications
You must be signed in to change notification settings - Fork 13
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
Legendre nnls #287
base: main
Are you sure you want to change the base?
Legendre nnls #287
Commits on Feb 27, 2024
-
Modified archetypes using BVLS to add -1*all legendre terms to the basis
vector (in tdata) so that NNLS can be used instead of BVLS. Fixed bug when ValueError excepted in rebinning
Configuration menu - View commit details
-
Copy full SHA for c4132a5 - Browse repository at this point
Copy the full SHA c4132a5View commit details
Commits on Mar 12, 2024
-
Modify prior array in prior_on_coeffs to include cross-terms for
negative legendre terms. Refactored a little to clean up. For archetypes with legendre terms, NNLS is now actually used with additional terms of -1*each legendre term so that we can use the faster NNLS to get the same result as BVLS.
Configuration menu - View commit details
-
Copy full SHA for a660106 - Browse repository at this point
Copy the full SHA a660106View commit details -
Only use additional negative legendre terms and NNLS when in GPU mode
because on CPU, the additional computation time for the larger array sizes dominates any time savings of NNLS vs BVLS
Configuration menu - View commit details
-
Copy full SHA for 7911c5b - Browse repository at this point
Copy the full SHA 7911c5bView commit details
Commits on Apr 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bbf187b - Browse repository at this point
Copy the full SHA bbf187bView commit details
Commits on Apr 21, 2024
-
Moved as much logic as possible related to using NNLS with extra
negative legendre terms on the GPU in lieu of BVLS into per_camera_coeff_with_least_square_batch. Moved prior_on_coeffs into zscan.py, called from within per_camera_coeff_with_least_square_batch. Pass prior_sigma, a scalar, insted of the array from fitz to archetypes. Bug fix on case where only some object types, not all, have an archetype.
Configuration menu - View commit details
-
Copy full SHA for 1ac311a - Browse repository at this point
Copy the full SHA 1ac311aView commit details
Commits on May 9, 2024
-
Compress output COEFF when using BVLS-NNLS trick to remove legendre
terms with 0 coefficients and make the coeffs negative for negative terms. Refactored to remove the last bit of the BVLS-NNLS trick from archetypes.py and zfind.py by passing binned instead of tdata to per_camera_coeff_with_least_square_batch.
Configuration menu - View commit details
-
Copy full SHA for d1b7b8f - Browse repository at this point
Copy the full SHA d1b7b8fView commit details -
Refactor to bring more in-line with main where the conflicts mostly
involve using a list of bands instead of ncam to be more general.
Configuration menu - View commit details
-
Copy full SHA for fd76617 - Browse repository at this point
Copy the full SHA fd76617View commit details