Skip to content

Conversation

piyo7
Copy link

@piyo7 piyo7 commented Mar 20, 2014

The type of "val a" in dA.scala is Double.
However, the type of "1 / n_visible" is Int.
Undesirable Implicit type conversion may occur as following example.

scala> val a : Double = 1 / 2
a: Double = 0.0

@Wei-1
Copy link

Wei-1 commented Nov 18, 2016

BTW, the file RBM.scala has the same bug at line 22.
This bug will cause the weighting variable W be all 0 while initialization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants