{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoers/PredictPokemon-2/issues/80","repository_url":"https://api.github.com/repos/PokemonGoers/PredictPokemon-2","labels_url":"https://api.github.com/repos/PokemonGoers/PredictPokemon-2/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoers/PredictPokemon-2/issues/80/comments","events_url":"https://api.github.com/repos/PokemonGoers/PredictPokemon-2/issues/80/events","html_url":"https://github.com/PokemonGoers/PredictPokemon-2/issues/80","id":197067914,"number":80,"title":"java error for prediction request","user":{"login":"jonas-he","id":21021040,"avatar_url":"https://avatars.githubusercontent.com/u/21021040?v=3","gravatar_id":"","url":"https://api.github.com/users/jonas-he","html_url":"https://github.com/jonas-he","followers_url":"https://api.github.com/users/jonas-he/followers","following_url":"https://api.github.com/users/jonas-he/following{/other_user}","gists_url":"https://api.github.com/users/jonas-he/gists{/gist_id}","starred_url":"https://api.github.com/users/jonas-he/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonas-he/subscriptions","organizations_url":"https://api.github.com/users/jonas-he/orgs","repos_url":"https://api.github.com/users/jonas-he/repos","events_url":"https://api.github.com/users/jonas-he/events{/privacy}","received_events_url":"https://api.github.com/users/jonas-he/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-22T00:38:59Z","updated_at":"2016-12-28T07:15:13Z","closed_at":null,"body":"i get this output when requesting a prediction:\r\n```\r\nINFO Request incoming: /pokemon/prediction/coordinates/-70.6626205,-33.4609206/t\r\ns/2016-09-14T08:00:00.000Z\r\nINFO Get Pokemon predictions by search parameters\r\nERROR in retrain:  { [Error: Command failed: C:\\WINDOWS\\system32\\cmd.exe /s /c \"\r\njava -classpath ./data/weka.jar -Xmx1024m weka.classifiers.meta.Vote -S 1 -B \"we\r\nka.classifiers.lazy.IBk -K 100 -W 0 -A \\\"weka.core.neighboursearch.LinearNNSearc\r\nh -A \\\\\\\"weka.core.EuclideanDistance -R first-last\\\\\\\"\\\"\" -B \"weka.classifiers.b\r\nayes.BayesNet -D -Q weka.classifiers.bayes.net.search.local.K2 -- -P 1 -S BAYES\r\n-E weka.classifiers.bayes.net.estimate.SimpleEstimator -- -A 0.5\" -R PROD -no-cv\r\n -v -classifications \"weka.classifiers.evaluation.output.prediction.Null\" -t C:\\\r\nUsers\\joniu\\Desktop\\PokeData\\node_modules\\predict-pokemon\\data\\trainingData.arff\r\n -d C:\\Users\\joniu\\Desktop\\PokeData\\node_modules\\predict-pokemon\\data\\classifier\r\n2.model\"\r\nFehler: Hauptklasse weka.classifiers.meta.Vote konnte nicht gefunden oder gelade\r\nn werden\r\n `java -classpath ./data/weka.jar -Xmx1024m weka.classifiers.meta.Vote -S 1 -B \"\r\nweka.classifiers.lazy.IBk -K 100 -W 0 -A \\\"weka.core.neighboursearch.LinearNNSea\r\nrch -A \\\\\\\"weka.core.EuclideanDistance -R first-last\\\\\\\"\\\"\" -B \"weka.classifiers\r\n.bayes.BayesNet -D -Q weka.classifiers.bayes.net.search.local.K2 -- -P 1 -S BAYE\r\nS -E weka.classifiers.bayes.net.estimate.SimpleEstimator -- -A 0.5\" -R PROD -no-\r\ncv -v -classifications \"weka.classifiers.evaluation.output.prediction.Null\" -t C\r\n:\\Users\\joniu\\Desktop\\PokeData\\node_modules\\predict-pokemon\\data\\trainingData.ar\r\nff -d C:\\Users\\joniu\\Desktop\\PokeData\\node_modules\\predict-pokemon\\data\\classifi\r\ner2.model` (exited with error code 1)]\r\n  killed: false,\r\n  code: 1,\r\n  signal: null,\r\n  cmd: 'C:\\\\WINDOWS\\\\system32\\\\cmd.exe /s /c \"java -classpath ./data/weka.jar -X\r\nmx1024m weka.classifiers.meta.Vote -S 1 -B \"weka.classifiers.lazy.IBk -K 100 -W\r\n0 -A \\\\\"weka.core.neighboursearch.LinearNNSearch -A \\\\\\\\\\\\\"weka.core.EuclideanDi\r\nstance -R first-last\\\\\\\\\\\\\"\\\\\"\" -B \"weka.classifiers.bayes.BayesNet -D -Q weka.c\r\nlassifiers.bayes.net.search.local.K2 -- -P 1 -S BAYES -E weka.classifiers.bayes.\r\nnet.estimate.SimpleEstimator -- -A 0.5\" -R PROD -no-cv -v -classifications \"weka\r\n.classifiers.evaluation.output.prediction.Null\" -t C:\\\\Users\\\\joniu\\\\Desktop\\\\Po\r\nkeData\\\\node_modules\\\\predict-pokemon\\\\data\\\\trainingData.arff -d C:\\\\Users\\\\jon\r\niu\\\\Desktop\\\\PokeData\\\\node_modules\\\\predict-pokemon\\\\data\\\\classifier2.model\"',\r\n\r\n  stdout: '',\r\n  stderr: 'Fehler: Hauptklasse weka.classifiers.meta.Vote konnte nicht gefunden\r\noder geladen werden\\r\\n' }\r\n```"},"comment":{"url":"https://api.github.com/repos/PokemonGoers/PredictPokemon-2/issues/comments/269436841","html_url":"https://github.com/PokemonGoers/PredictPokemon-2/issues/80#issuecomment-269436841","issue_url":"https://api.github.com/repos/PokemonGoers/PredictPokemon-2/issues/80","id":269436841,"user":{"login":"bensLine","id":5795552,"avatar_url":"https://avatars.githubusercontent.com/u/5795552?v=3","gravatar_id":"","url":"https://api.github.com/users/bensLine","html_url":"https://github.com/bensLine","followers_url":"https://api.github.com/users/bensLine/followers","following_url":"https://api.github.com/users/bensLine/following{/other_user}","gists_url":"https://api.github.com/users/bensLine/gists{/gist_id}","starred_url":"https://api.github.com/users/bensLine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bensLine/subscriptions","organizations_url":"https://api.github.com/users/bensLine/orgs","repos_url":"https://api.github.com/users/bensLine/repos","events_url":"https://api.github.com/users/bensLine/events{/privacy}","received_events_url":"https://api.github.com/users/bensLine/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T07:15:13Z","updated_at":"2016-12-28T07:15:13Z","body":"great, thanks for the logs! Yes, it's a path issue. \r\n@Aurel-Roci please update the npm package again :) if the fix #83 is fine and merged\r\n\r\n@jonas-he If you get the `Error: no cooc data` it's ok. That basically means that the sighting data is not yet completely processed and hence a prediction cannot be made until it is completely processed. The processing with 10k sightings from the API will probably take several minuets.\r\n\r\nImportant: I added an `init()` method to `prediction.js`, which **needs** to be called once before the predict() method is used. Best call it after setting the URL and the other stuff."}}
{"actor":{"display_login":"bensLine"}}