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

Class FactorizationMachine

src/app/factor_machine/fm.h:9–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7typedef double Real;
8
9class FactorizationMachine {
10 public:
11 static AppPtr create(const Config& conf);
12
13 // static Call get(const MessageCPtr& msg) {
14 // CHECK_EQ(msg->task.type(), Task::CALL_CUSTOMER);
15 // CHECK(msg->task.has_factorization_machine());
16 // return msg->task.factorization_machine();
17 // }
18 // static Call* set(Task *task) {
19 // task->set_type(Task::CALL_CUSTOMER);
20 // return task->mutable_factorization_machine();
21 // }
22 // static Task newTask(Call::Command cmd) {
23 // Task task; set(&task)->set_cmd(cmd);
24 // return task;
25 // }
26
27};
28} // namespace FM
29} // namespace PS

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected