An open API service indexing awesome lists of open source software.

https://github.com/nrgrp/dlfm

Multi-convex programming for discrete latent factor models prototyping
https://github.com/nrgrp/dlfm

convex-optimization latent-variable-models model-fitting multi-convex-programming

Last synced: 5 months ago
JSON representation

Multi-convex programming for discrete latent factor models prototyping

Awesome Lists containing this project

README

          

# dlfm

Code accompanies the paper "[Multi-convex Programming for Discrete Latent Factor Models Prototyping](https://haozhu10015.github.io/papers/mcp_dlfm.html)".

The [implementation.ipynb](implementation.ipynb) contains the framework
implementation described in section 5 of the paper.

The jupyter notebook corresponding to the examples mentioned
in the paper are under the folder [examples](examples).

## Dependencies

We manage dependencies through [uv](https://docs.astral.sh/uv/).
Once you have installed uv you can perform
```shell
make install
```
to replicate the virtual environment we have defined in
[pyproject.toml](pyproject.toml) and locked in [uv.lock](uv.lock).

## Run the examples

To reproduce the examples mentioned in the paper, we install [JupyterLab](https://jupyter.org/)
on the fly within the aforementioned virtual environment.
Executing
```shell
make jupyter
```
will install and start the jupyter lab.