forked from yusugomori/DeepLearning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Yusuke Sugomori
committed
Feb 12, 2013
1 parent
41c7a0c
commit 4644aa4
Showing
2 changed files
with
18 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class dA { | ||
|
||
public: | ||
int N; | ||
int n_visible; | ||
int n_hidden; | ||
double **W; | ||
double *hbias; | ||
double *vbias; | ||
dA(int, int, int , double**, double*, double*); | ||
~dA(); | ||
void get_corrupted_input(int*, int*, double); | ||
void get_hidden_values(int*, double*); | ||
void get_reconstructed_input(double*, double*); | ||
void train(int*, double, double); | ||
void reconstruct(int*, double*); | ||
}; |