Commit Graph

4 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
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
f7bb5b0cdd initial commit 2024-12-28 01:28:33 +00:00