January 2018
Intermediate to advanced
470 pages
11h 9m
English
So let's start by importing required libraries and packages:
package com.packt.ScalaML.FraudDetectionimport org.apache.spark.sql.SparkSessionimport org.apache.spark.sql.functions._import org.apache.spark.sql._import org.apache.spark.h2o._import _root_.hex.FrameSplitterimport water.Keyimport water.fvec.Frameimport _root_.hex.deeplearning.DeepLearningimport _root_.hex.deeplearning.DeepLearningModel.DeepLearningParametersimport _root_.hex.deeplearning.DeepLearningModel.DeepLearningParameters.Activationimport java.io.Fileimport water.support.ModelSerializationSupportimport _root_.hex.{ ModelMetricsBinomial, ModelMetrics }import org.apache.spark.h2o._import scala.reflect.api.materializeTypeTagRead now
Unlock full access