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

Method preprocessData

src/app/linear_method/darlin.h:167–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166 protected:
167 virtual void preprocessData(int time, const BCDCall& call) {
168 BCDServer<Real>::preprocessData(time, call);
169 for (int grp : fea_grp_) {
170 size_t n = model_.key(grp).size();
171 active_set_[grp].resize(n, true);
172 delta_[grp].resize(n, bcd_conf_.GetExtension(delta_init_value));
173 }
174 }
175 virtual void updateModel(int time, const BCDCall& call) {
176 if (call.has_kkt_filter_threshold()) {
177 kkt_filter_threshold_ = call.kkt_filter_threshold();

Callers

nothing calls this directly

Calls 3

keyMethod · 0.80
sizeMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected