Welcome to mirror list, hosted at ThFree Co, Russian Federation.

accumulate.h « vowpalwabbit - github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c01ac5fed92d107c35f86618c9ba8be1f9de5bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
Copyright (c) by respective owners including Yahoo!, Microsoft, and
individual contributors. All rights reserved.  Released under a BSD
license as described in the file LICENSE.
 */
//This implements various accumulate functions building on top of allreduce.  
#pragma once
#include "global_data.h"

void accumulate(vw& all, std::string master_location, regressor& reg, size_t o);
float accumulate_scalar(vw& all, std::string master_location, float local_sum);
void accumulate_weighted_avg(vw& all, std::string master_location, regressor& reg);
void accumulate_avg(vw& all, std::string master_location, regressor& reg, size_t o);