Commit Graph

14 Commits

Author SHA1 Message Date
Dylan Knutson
350c61c313 Refactor data loading and embedding saving process
- Updated `.cargo/config.toml` to optimize compilation flags for performance.
- Enhanced `main.rs` by:
  - Renaming user and item ID columns for clarity.
  - Adding validation functions to ensure the existence of tables and columns in the database schema.
  - Implementing immediate exit handling during data loading.
  - Modifying the `save_embeddings` function to accept item IDs for processing.
  - Improving error handling with context messages for database operations.

These changes improve code readability, robustness, and performance during data processing.
2024-12-28 06:42:28 +00:00
Dylan Knutson
c791203d1c dockerfile for building release app 2024-12-28 05:01:10 +00:00
Dylan Knutson
66165a7eee batch loading for computed rows 2024-12-28 04:40:09 +00:00
Dylan Knutson
9aece9c740 make libmf multithreading work 2024-12-28 04:19:00 +00:00
Dylan Knutson
2738b8469b cargo clippy 2024-12-28 03:46:30 +00:00
Dylan Knutson
6ebbd6aaa9 better visualization 2024-12-28 03:39:24 +00:00
Dylan Knutson
ab5f379b94 use cluster affinities 2024-12-28 03:32:38 +00:00
Dylan Knutson
9b4316e819 different way of giving clusters an x, y, z 2024-12-28 03:11:37 +00:00
Dylan Knutson
32a7292481 more fixes 2024-12-28 03:04:50 +00:00
Dylan Knutson
56b6604142 improve embedding visualization 2024-12-28 02:09:32 +00:00
Dylan Knutson
e21541af46 embeddings visualization 2024-12-28 01:59:11 +00:00
Dylan Knutson
61b9728fd8 better test data generation 2024-12-28 01:51:33 +00:00
Dylan Knutson
00b30ac285 cluster validation 2024-12-28 01:46:48 +00:00
Dylan Knutson
f7bb5b0cdd initial commit 2024-12-28 01:28:33 +00:00