mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-15 07:38:45 +02:00
ef4c5eb65e
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
23 lines
891 B
Scala
23 lines
891 B
Scala
package com.twitter.follow_recommendations.common.candidate_sources.sims_expansion
|
|
|
|
import com.twitter.timelines.configapi.FSBoundedParam
|
|
import com.twitter.timelines.configapi.FSParam
|
|
|
|
object DBV2SimsExpansionParams {
|
|
// Theses divisors are used to calibrate DBv2Sims extension candidates scores
|
|
case object RecentFollowingSimilarUsersDBV2CalibrateDivisor
|
|
extends FSBoundedParam[Double](
|
|
"sims_expansion_recent_following_similar_users_dbv2_divisor",
|
|
default = 1.0d,
|
|
min = 0.1d,
|
|
max = 100d)
|
|
case object RecentEngagementSimilarUsersDBV2CalibrateDivisor
|
|
extends FSBoundedParam[Double](
|
|
"sims_expansion_recent_engagement_similar_users_dbv2_divisor",
|
|
default = 1.0d,
|
|
min = 0.1d,
|
|
max = 100d)
|
|
case object DisableHeavyRanker
|
|
extends FSParam[Boolean]("sims_expansion_disable_heavy_ranker", default = false)
|
|
}
|