block coordinate descent solver
| 8 | DECLARE_bool(verbose); |
| 9 | // block coordinate descent solver |
| 10 | class 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 | |
| 26 | class BCDScheduler : public App, public BCDCommon { |
| 27 | public: |
nothing calls this directly
no outgoing calls
no test coverage detected