Skip to content
Snippets Groups Projects

Json

Merged Athanasios Xygkis requested to merge json into master
Files
2
@@ -66,7 +66,7 @@ object Predictor extends App {
implicit val formats = org.json4s.DefaultFormats
val answers: Map[String, Any] = Map(
"Q3.1.4" -> Map(
"MaeGlobalMethod" -> globalMae, // Datatype of answer: Double
"MaeGlobalMethod" -> 0.0, // Datatype of answer: Double
"MaePerUserMethod" -> 0.0, // Datatype of answer: Double
"MaePerItemMethod" -> 0.0, // Datatype of answer: Double
"MaeBaselineMethod" -> 0.0 // Datatype of answer: Double
@@ -93,6 +93,7 @@ object Predictor extends App {
"max" -> 0.0, // Datatype of answer: Double
"average" -> 0.0 // Datatype of answer: Double
),
"RatioBetweenBaselineMethodAndGlobalMethod" -> 0.0 // Datatype of answer: Double
),
)
json = Serialization.writePretty(answers)
Loading