-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Example] Add ALS application #268
base: master
Are you sure you want to change the base?
Conversation
examples/CMakeLists.txt
Outdated
target_link_libraries(ALS ${HUSKY_EXTERNAL_LIB}) | ||
husky_default_properties(ALS) | ||
|
||
# Triangle counting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Redundant targets.
examples/als.cpp
Outdated
// | ||
// Example of configuration | ||
// | ||
// master_host=master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to put all information of configuration here. Be selective.
examples/als.cpp
Outdated
pred = std::max(1., pred); | ||
pred = std::min(5., pred); | ||
double loss = pred - rating; | ||
// husky::LOG_I << "pred: " << pred; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove all unused comments like this.
Actually it's better to use BroadcastChannel instead. However we need a proper BroadcastChannel first. See https://github.com/ddmbr/husky-h4/issues/116 and https://github.com/ddmbr/husky-h4/pull/115. A proper BroadcastChannel also exists in the old Husky repo. |
Using push channel to implement an example of ALS.