MCPcopy Create free account
hub / github.com/dmlc/parameter_server / BCDCommon

Class BCDCommon

src/learner/bcd.h:10–24  ·  view source on GitHub ↗

block coordinate descent solver

Source from the content-addressed store, hash-verified

8DECLARE_bool(verbose);
9// block coordinate descent solver
10class BCDCommon {
11 public:
12 BCDCommon(const BCDConfig& conf) : bcd_conf_(conf) {
13 if (!bcd_conf_.has_local_cache()) {
14 bcd_conf_.mutable_local_cache()->add_file("/tmp/bcd_");
15 }
16 }
17
18 virtual ~BCDCommon() { }
19 protected:
20 // feature group
21 std::vector<int> fea_grp_;
22 const int time_ratio_ = 10;
23 BCDConfig bcd_conf_;
24};
25
26class BCDScheduler : public App, public BCDCommon {
27 public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected