|
Java example source code file (EvaluationReduceFunction.java)
The EvaluationReduceFunction.java Java example source codepackage org.deeplearning4j.spark.impl.multilayer.evaluation; import org.apache.spark.api.java.function.Function2; import org.deeplearning4j.eval.Evaluation; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Created by nyghtowl on 1/13/16. */ public class EvaluationReduceFunction implements Function2<Evaluation, Evaluation, Evaluation> { protected static Logger log = LoggerFactory.getLogger(EvaluationReduceFunction.class); public EvaluationReduceFunction(){} @Override public Evaluation call(Evaluation eval1, Evaluation eval2) throws Exception { eval1.merge(eval2); return eval1; } } Other Java examples (source code examples)Here is a short list of links related to this Java EvaluationReduceFunction.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.