`embedding_size` property for vector models

Open
#161 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by locating the vector model implementations for IALS and LightFM and reading how each represents latent factors, feature factors, and biases. Add a property that reports the full learned embedding size, including the factors for IALS and biases for LightFM; done when both models report sizes that include those components and the behavior is covered by tests.

Written by the indexing model from the issue text.

Description

enhancement
Feature Description

A property that will return full learnt embedding size for vector models. For ials it will count latent + feature factors. For lightfm it will add biases.

Why this feature?

Useful for model complexity comparison

Additional context

No response

Dominant language
Python
Stars
457
Forks
55
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MTSWebServices/RecTools

All issues in MTSWebServices/RecTools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.