the-algorithm/cr-mixer/server/src/main/scala/com/twitter/cr_mixer/model/TopicTweetWithScore.scala
twitter-team ef4c5eb65e Twitter Recommendation Algorithm
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.
2023-03-31 17:36:31 -05:00

14 lines
436 B
Scala

package com.twitter.cr_mixer.model
import com.twitter.cr_mixer.thriftscala.SimilarityEngineType
import com.twitter.simclusters_v2.common.TweetId
/***
* Bind a tweetId with a raw score generated from one single Similarity Engine
* @param similarityEngineType, which underlying topic source the topic tweet is from
*/
case class TopicTweetWithScore(
tweetId: TweetId,
score: Double,
similarityEngineType: SimilarityEngineType)