-
Notifications
You must be signed in to change notification settings - Fork 108
AdaDelta #447
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
base: develop
Are you sure you want to change the base?
AdaDelta #447
Conversation
…ult is not good enough: #363
enable rebin capability in stats step
…xception: Noticed that container memory is 2048, while java process consumes 1800+128, I guess there may be some off-heap memory used. Use 1700 m to add 100 m buffer
Conflicts: src/main/java/ml/shifu/shifu/core/processor/ExportModelProcessor.java
…st to avoid iteration in another thread
# Conflicts: # CHANGES.txt # pom.xml
…ong categorical value limitcation(16k)
fix the iv bug in stats and flatten categorical values in when generating GBT tree
trim categorical value whose length is larger than 16k
Fix two bugs in NS supporting and PMML exporting
change categorical group variable delimiter from ^ to @^
merge latest shifu develop code
Split number type into integer and number
add candidate variable flage and support one-hot encoding for categorical variables
…er worker size in training
Conflicts: src/main/java/ml/shifu/shifu/util/CommonUtils.java
AdaDelta & AdaGrad |
/** | ||
* | ||
*/ | ||
package ml.shifu.shifu.core.dtrain; |
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.
please use https://github.com/ShifuML/shifu/blob/master/shifu-codetemplates.xml and https://github.com/ShifuML/shifu/blob/master/shifu-formatter.xml
here is for license.
import org.slf4j.LoggerFactory; | ||
|
||
/** | ||
* @author xchen7 |
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 class comment?
if (LOGGER.isDebugEnabled()) { | ||
LOGGER.debug("Initialized with decay " + decay + " and epsilon " + epsilon + " and learning rate " | ||
+ learningRate); | ||
} |
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.
here is SLF4j, no need wrappered by LOGGER.isDebugEnabled()
|
||
/* Update gradients after computation. */ | ||
prevGradients = currGradients; | ||
|
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.
the logic looks good, while not sure if master is done, prevGradients will not be recovered, then what will happen? Just image Master is done in iteration 10, then it is recovered to iteration 10, but prevGradients is empty. Other implementations may have the same issue.
1a24e23
to
8d3885b
Compare
No description provided.