mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-07-04 08:56:07 +02:00
![twitter-team](/assets/img/avatar_default.png)
Open sourcing Aggregation Framework, a config-driven Summingbird based framework for generating real-time and batch aggregate features to be consumed by ML models.
6 lines
184 B
Scala
6 lines
184 B
Scala
package com.twitter.timelines.data_processing.ml_util.aggregation_framework.metrics
|
|
|
|
object ConversionUtils {
|
|
def booleanToDouble(value: Boolean): Double = if (value) 1.0 else 0.0
|
|
}
|