{"size": 317, "ext": "js", "max_stars_repo_path": "ajax/libs/brain/0.6.3/training-worker.min.js", "max_stars_repo_name": "platanus/cdnjs", "max_stars_repo_stars_event_min_datetime": "2015-02-20T16:11:30.000Z", "max_stars_repo_stars_event_max_datetime": "2017-05-15T11:50:44.000Z", "max_issues_repo_path": "ajax/libs/brain/0.6.3/training-worker.min.js", "max_issues_repo_name": "platanus/cdnjs", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "ajax/libs/brain/0.6.3/training-worker.min.js", "max_forks_repo_name": "platanus/cdnjs", "max_forks_repo_forks_event_min_datetime": "2015-07-14T16:16:05.000Z", "max_forks_repo_forks_event_max_datetime": "2021-03-10T08:15:54.000Z"}
{"max_stars_count": 5, "max_issues_count": null, "max_forks_count": 4, "avg_line_length": 317.0, "max_line_length": 317, "alphanum_fraction": 0.7728706625}
importScripts("brain-0.6.3.js");onmessage=function(a){var b=JSON.parse(a.data);var c=new brain.NeuralNetwork();c.train(b,{iterations:9000,callback:postProgress,callbackPeriod:500});postMessage(JSON.stringify({type:"result",net:c.toJSON()}))};function postProgress(a){a.type="progress";postMessage(JSON.stringify(a))};