- run gui (Zwischenstand)
- trigger compile of libjuce from RBM makefile git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@614 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -43,6 +43,20 @@ public:
|
||||
return m_id;
|
||||
}
|
||||
|
||||
int numVisibleX()
|
||||
{
|
||||
return m_numVisibleX;
|
||||
}
|
||||
|
||||
int numVisibleY()
|
||||
{
|
||||
return m_numVisibleY;
|
||||
}
|
||||
|
||||
int numHidden()
|
||||
{
|
||||
return m_bh.n_elem;
|
||||
}
|
||||
private:
|
||||
const std::string &m_name;
|
||||
std::string m_weightsFile;
|
||||
|
||||
+1
-1
@@ -123,7 +123,7 @@ public:
|
||||
virtual ~Rbm();
|
||||
|
||||
void weightsInit(double stddev, double mu=0.0);
|
||||
void train(arma::mat const &batch, IListener *pListener);
|
||||
void train(arma::mat const &batch, IListener *pListener=nullptr);
|
||||
|
||||
arma::mat toHiddenState(const arma::mat &visible) const;
|
||||
arma::mat toVisibleState(const arma::mat &hidden) const;
|
||||
|
||||
@@ -38,6 +38,10 @@ public:
|
||||
bool loadWeights();
|
||||
bool saveWeights();
|
||||
|
||||
void batchchanged()
|
||||
{
|
||||
std::cout << "Stack::batchchanged() called" << std::endl;
|
||||
}
|
||||
private:
|
||||
const std::string &m_prjname;
|
||||
Layer *m_pLayers;
|
||||
|
||||
Reference in New Issue
Block a user