Skip to content

fix indexing / sorting for initializing gradient with no warm start#146

Open
jonathan-taylor wants to merge 1 commit into
JamesYang007:mainfrom
jonathan-taylor:gaussian_cov_fix
Open

fix indexing / sorting for initializing gradient with no warm start#146
jonathan-taylor wants to merge 1 commit into
JamesYang007:mainfrom
jonathan-taylor:gaussian_cov_fix

Conversation

@jonathan-taylor

@jonathan-taylor jonathan-taylor commented Apr 17, 2025

Copy link
Copy Markdown
Collaborator

This fixes #144

But it feels like an even simpler fix is to just set grad=np.zeros(p, dtype=dtype) because that is what is going to happen anyways. Or is there a reason to call A.mul at this point https://github.com/JamesYang007/adelie/pull/146/files#diff-2d0d2cfb4367fb01b4097db4a37b931116ceedf4bc91d5048c8989eda0a0de86R296

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gaussian_cov with unpenalized features raise TypeError

1 participant