home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (EvaluationReduceFunction.java)

This example Java source code file (EvaluationReduceFunction.java) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

evaluation, evaluationreducefunction, exception, function2, logger, override

The EvaluationReduceFunction.java Java example source code

package 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(){}

    public Evaluation call(Evaluation eval1, Evaluation eval2) throws Exception {
        return eval1;

Other Java examples (source code examples)

Here is a short list of links related to this Java EvaluationReduceFunction.java source code file:

my book on functional programming


new blog posts


Copyright 1998-2019 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.