madeleineudell / LowRankModels.jl

LowRankModels.jl is a julia package for modeling and fitting generalized low rank models.
Other
190 stars 65 forks source link

Hermitian data fit #95

Open aplavin opened 5 years ago

aplavin commented 5 years ago

Hi! This package looks interesting and pretty general, but I cannot find a way to fit a low rank model like A = X * X', where observed data A is a hermitian matrix (in my case - exactly hermitian), and Y is constrained to equal X'. Any ideas for how to proceed?

madeleineudell commented 5 years ago

This functionality does not yet exist. I can see two ways to implement it.

The simplest way is simply to create a new fit_hermitian! function. It could copy proxgrad.jl except that you'd replace the Y update by Y = copy(X).

A more complex way would create

I don't plan to add this functionality, but would welcome a PR if the code lived entirely in new files (+ documentation in the README).