-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
SG_ADD refactor #4417
SG_ADD refactor #4417
Changes from 2 commits
6de1d81
c610f3c
d304e15
a601c0a
bd9e09e
2458eee
9d6e506
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,9 +49,9 @@ void CLDA::init() | |
|
||
SG_ADD( | ||
(machine_int_t*)&m_method, "m_method", | ||
"Method used for LDA calculation", ParameterProperties()); | ||
"Method used for LDA calculation"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yep, much cleaner |
||
SG_ADD(&m_gamma, "m_gamma", "Regularization parameter", ParameterProperties::HYPER); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is quite nice now |
||
SG_ADD(&m_bdc_svd, "m_bdc_svd", "Use BDC-SVD algorithm", ParameterProperties()); | ||
SG_ADD(&m_bdc_svd, "m_bdc_svd", "Use BDC-SVD algorithm"); | ||
} | ||
|
||
CLDA::~CLDA() | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ void CLocallyLinearEmbedding::init() | |
SG_ADD(&m_nullspace_shift, "nullspace_shift", | ||
"nullspace finding regularization shift",ParameterProperties()); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missed one here :) |
||
SG_ADD(&m_reconstruction_shift, "reconstruction_shift", | ||
"shift used to regularize reconstruction step", ParameterProperties()); | ||
"shift used to regularize reconstruction step"); | ||
} | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,11 +23,11 @@ CManifoldSculpting::CManifoldSculpting() : | |
|
||
void CManifoldSculpting::init() | ||
{ | ||
SG_ADD(&m_k, "k", "number of neighbors", ParameterProperties()); | ||
SG_ADD(&m_k, "k", "number of neighbors"); | ||
SG_ADD(&m_squishing_rate, "quishing_rate", | ||
"squishing rate",ParameterProperties()); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and here |
||
SG_ADD(&m_max_iteration, "max_iteration", | ||
"maximum number of algorithm's iterations", ParameterProperties()); | ||
"maximum number of algorithm's iterations"); | ||
} | ||
|
||
CManifoldSculpting::~CManifoldSculpting() | ||
|
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.
yes this is good