{"action":"created","issue":{"url":"https://api.github.com/repos/ashkonf/HybridNaiveBayes/issues/4","repository_url":"https://api.github.com/repos/ashkonf/HybridNaiveBayes","labels_url":"https://api.github.com/repos/ashkonf/HybridNaiveBayes/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ashkonf/HybridNaiveBayes/issues/4/comments","events_url":"https://api.github.com/repos/ashkonf/HybridNaiveBayes/issues/4/events","html_url":"https://github.com/ashkonf/HybridNaiveBayes/issues/4","id":174901631,"number":4,"title":"Is there anyway to output results to txt or csv?","user":{"login":"xiejiachen","id":16185716,"avatar_url":"https://avatars.githubusercontent.com/u/16185716?v=3","gravatar_id":"","url":"https://api.github.com/users/xiejiachen","html_url":"https://github.com/xiejiachen","followers_url":"https://api.github.com/users/xiejiachen/followers","following_url":"https://api.github.com/users/xiejiachen/following{/other_user}","gists_url":"https://api.github.com/users/xiejiachen/gists{/gist_id}","starred_url":"https://api.github.com/users/xiejiachen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiejiachen/subscriptions","organizations_url":"https://api.github.com/users/xiejiachen/orgs","repos_url":"https://api.github.com/users/xiejiachen/repos","events_url":"https://api.github.com/users/xiejiachen/events{/privacy}","received_events_url":"https://api.github.com/users/xiejiachen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-03T15:22:24Z","updated_at":"2016-09-07T02:39:56Z","closed_at":null,"body":"Hi, author.\r\n\r\nIf we let first 800 rows as train data, and last 200 rows as test data, how to output the prediction results both with train data and test data?\r\n\r\nYours"},"comment":{"url":"https://api.github.com/repos/ashkonf/HybridNaiveBayes/issues/comments/245158484","html_url":"https://github.com/ashkonf/HybridNaiveBayes/issues/4#issuecomment-245158484","issue_url":"https://api.github.com/repos/ashkonf/HybridNaiveBayes/issues/4","id":245158484,"user":{"login":"ashkonf","id":2329499,"avatar_url":"https://avatars.githubusercontent.com/u/2329499?v=3","gravatar_id":"","url":"https://api.github.com/users/ashkonf","html_url":"https://github.com/ashkonf","followers_url":"https://api.github.com/users/ashkonf/followers","following_url":"https://api.github.com/users/ashkonf/following{/other_user}","gists_url":"https://api.github.com/users/ashkonf/gists{/gist_id}","starred_url":"https://api.github.com/users/ashkonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashkonf/subscriptions","organizations_url":"https://api.github.com/users/ashkonf/orgs","repos_url":"https://api.github.com/users/ashkonf/repos","events_url":"https://api.github.com/users/ashkonf/events{/privacy}","received_events_url":"https://api.github.com/users/ashkonf/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T02:39:56Z","updated_at":"2016-09-07T02:39:56Z","body":"classifier = nb.NaiveBayesClassifier(featurizer)\r\nclassifier.train(training_set[0], training_set[1])\r\nfor data_point in test_set[0]:\r\n    print classifier.classify(data_point)"}}
{"actor":{"display_login":"ashkonf"}}