{"action":"created","issue":{"url":"https://api.github.com/repos/ShifuML/shifu/issues/159","labels_url":"https://api.github.com/repos/ShifuML/shifu/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/ShifuML/shifu/issues/159/comments","events_url":"https://api.github.com/repos/ShifuML/shifu/issues/159/events","html_url":"https://github.com/ShifuML/shifu/issues/159","id":103970899,"number":159,"title":"Change Double to Float for MemoryDiskMLDataSet to Save Training Memory Space","user":{"login":"zhangpengshan","id":7368102,"avatar_url":"https://avatars.githubusercontent.com/u/7368102?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangpengshan","html_url":"https://github.com/zhangpengshan","followers_url":"https://api.github.com/users/zhangpengshan/followers","following_url":"https://api.github.com/users/zhangpengshan/following{/other_user}","gists_url":"https://api.github.com/users/zhangpengshan/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangpengshan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangpengshan/subscriptions","organizations_url":"https://api.github.com/users/zhangpengshan/orgs","repos_url":"https://api.github.com/users/zhangpengshan/repos","events_url":"https://api.github.com/users/zhangpengshan/events{/privacy}","received_events_url":"https://api.github.com/users/zhangpengshan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ShifuML/shifu/milestones/4","html_url":"https://github.com/ShifuML/shifu/milestones/Shifu%200.2.7","labels_url":"https://api.github.com/repos/ShifuML/shifu/milestones/4/labels","id":1142134,"number":4,"title":"Shifu 0.2.7","description":"","creator":{"login":"zhangpengshan","id":7368102,"avatar_url":"https://avatars.githubusercontent.com/u/7368102?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangpengshan","html_url":"https://github.com/zhangpengshan","followers_url":"https://api.github.com/users/zhangpengshan/followers","following_url":"https://api.github.com/users/zhangpengshan/following{/other_user}","gists_url":"https://api.github.com/users/zhangpengshan/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangpengshan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangpengshan/subscriptions","organizations_url":"https://api.github.com/users/zhangpengshan/orgs","repos_url":"https://api.github.com/users/zhangpengshan/repos","events_url":"https://api.github.com/users/zhangpengshan/events{/privacy}","received_events_url":"https://api.github.com/users/zhangpengshan/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":22,"state":"open","created_at":"2015-06-01T03:17:25Z","updated_at":"2015-08-31T01:41:31Z","due_on":"2015-07-30T16:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-31T01:39:39Z","updated_at":"2015-08-31T01:41:31Z","closed_at":"2015-08-31T01:41:31Z","body":"In NN training, MemoryDiskMLDataSet  is used to combine BasicMLDataSet and BufferedMLDataSet, while only double type is supported in MLDataSet. To leverage float type, we can save memory a half. We add MemoryDiskFloatMLDataSet and change some interfaces in encog to make it support float type. "},"comment":{"url":"https://api.github.com/repos/ShifuML/shifu/issues/comments/136231287","html_url":"https://github.com/ShifuML/shifu/issues/159#issuecomment-136231287","issue_url":"https://api.github.com/repos/ShifuML/shifu/issues/159","id":136231287,"user":{"login":"zhangpengshan","id":7368102,"avatar_url":"https://avatars.githubusercontent.com/u/7368102?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangpengshan","html_url":"https://github.com/zhangpengshan","followers_url":"https://api.github.com/users/zhangpengshan/followers","following_url":"https://api.github.com/users/zhangpengshan/following{/other_user}","gists_url":"https://api.github.com/users/zhangpengshan/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangpengshan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangpengshan/subscriptions","organizations_url":"https://api.github.com/users/zhangpengshan/orgs","repos_url":"https://api.github.com/users/zhangpengshan/repos","events_url":"https://api.github.com/users/zhangpengshan/events{/privacy}","received_events_url":"https://api.github.com/users/zhangpengshan/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T01:41:31Z","updated_at":"2015-08-31T01:41:31Z","body":" ml.shifu.shifu.core.dtrain.dataset;BasicFloatNetwork is used to change one field in BasicNetwork. But with that we have to add PersistBasicFloatNetwork to save Float network.  This make us hard to register PersistBasicFloatNetwork: To add one line of code:         PersistorRegistry.getInstance().add(new PersistBasicFloatNetwork());\r\n"}}