fix(word2vec): simple example of word2vec

This commit is contained in:
Mahdi Dibaiee
2016-09-16 14:03:15 +04:30
parent d4ac90bbd5
commit 0d43814448
4 changed files with 12 additions and 7 deletions

View File

@@ -86,6 +86,7 @@ module Sibe
, batchSize :: Int
, chart :: [(Int, Double, Double)]
, momentum :: Double
, debug :: Bool
} deriving (Show)
emptyNetwork = randomNetwork 0 (0, 0) 0 [] (0, (id, id))
@@ -99,6 +100,7 @@ module Sibe
, batchSize = 0
, chart = []
, momentum = 0
, debug = False
}
saveNetwork :: Network -> String -> IO ()