Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lib4neuro
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MolDyn
lib4neuro
Commits
dd058bf8
Commit
dd058bf8
authored
6 years ago
by
Martin Beseda
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Added Doxygen docs for GD class and its constructor
parent
e1d3a0ac
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/LearningMethods/GradientDescent.h
+13
-5
13 additions, 5 deletions
src/LearningMethods/GradientDescent.h
with
13 additions
and
5 deletions
src/LearningMethods/GradientDescent.h
+
13
−
5
View file @
dd058bf8
...
...
@@ -19,17 +19,23 @@ namespace lib4neuro {
private:
/**
*
*
Threshold for the successful ending of the optimization - deviation from minima
*/
double
tolerance
;
/**
*
*
Number of iterations to reset step size to tolerance/10.0
*/
size_t
restart_frequency
;
/**
* Maximal number of iterations - optimization will stop after that, even if not converged
*/
long
long
int
maximum_niters
;
/**
* Vector of minima coordinates
*/
std
::
vector
<
double
>
*
optimal_parameters
;
/**
...
...
@@ -50,13 +56,15 @@ namespace lib4neuro {
public:
/**
*
* @param epsilon
* Creates an instance of Gradient Descent Optimizer (i.e. back-propagation)
* @param epsilon Threshold for the successful ending of the optimization - deviation from minima
* @param n_to_restart Number of iterations to reset step size to tolerance/10.0
* @param max_iters Maximal number of iterations - optimization will stop after that, even if not converged
*/
LIB4NEURO_API
GradientDescent
(
double
epsilon
=
1e-3
,
size_t
n_to_restart
=
100
,
long
long
int
max_iters
=
-
1
);
/**
*
*
Deallocates the instance
*/
LIB4NEURO_API
~
GradientDescent
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment