org.lenskit.transform.normalize

## Interface UserVectorNormalizer

• ### Method Summary

All Methods
Modifier and Type Method and Description
InvertibleFunction<Long2DoubleMap,Long2DoubleMap> makeTransformation(long user, Long2DoubleMap vector)
Make a vector transformation for a user.
• ### Method Detail

• #### makeTransformation

InvertibleFunction<Long2DoubleMap,Long2DoubleMap> makeTransformation(long user,
Long2DoubleMap vector)

Make a vector transformation for a user. The resulting transformation will be applied to user vectors to normalize and denormalize them.

Parameters:
user - The user ID to normalize for.
vector - The user’s vector to use as the reference vector.
Returns:
The vector transformation normalizing for this user.