- DrawComponent: use fixed value scaling
- Rbm: fixed weight decay
- Rbm: fixed sparsity


git-svn-id: http://moon:8086/svn/software/trunk/projects/RBM@298 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2016-06-22 19:11:09 +00:00
parent 9d00654932
commit 866a0349db
4 changed files with 46 additions and 67 deletions
+3 -1
View File
@@ -49,7 +49,7 @@ class DrawComponent : public Component
{
public:
//==============================================================================
DrawComponent (int width, int height);
DrawComponent (int width, int height, float offset=0.0, float scale=1.0);
~DrawComponent();
//==============================================================================
@@ -79,6 +79,8 @@ private:
DrawListener *m_pListener;
int m_width;
int m_height;
float m_offset;
float m_scale;
float m_scaleX;
float m_scaleY;
ScopedPointer<Graphics>m_pG;