{"action":"created","issue":{"url":"https://api.github.com/repos/umontreal-simul/ssj/issues/10","repository_url":"https://api.github.com/repos/umontreal-simul/ssj","labels_url":"https://api.github.com/repos/umontreal-simul/ssj/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/umontreal-simul/ssj/issues/10/comments","events_url":"https://api.github.com/repos/umontreal-simul/ssj/issues/10/events","html_url":"https://github.com/umontreal-simul/ssj/issues/10","id":230638502,"number":10,"title":"Evaluate the spline function using knots and control points at a given point in time","user":{"login":"karanshah03","id":5396503,"avatar_url":"https://avatars2.githubusercontent.com/u/5396503?v=3","gravatar_id":"","url":"https://api.github.com/users/karanshah03","html_url":"https://github.com/karanshah03","followers_url":"https://api.github.com/users/karanshah03/followers","following_url":"https://api.github.com/users/karanshah03/following{/other_user}","gists_url":"https://api.github.com/users/karanshah03/gists{/gist_id}","starred_url":"https://api.github.com/users/karanshah03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karanshah03/subscriptions","organizations_url":"https://api.github.com/users/karanshah03/orgs","repos_url":"https://api.github.com/users/karanshah03/repos","events_url":"https://api.github.com/users/karanshah03/events{/privacy}","received_events_url":"https://api.github.com/users/karanshah03/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"chwyean","id":15200507,"avatar_url":"https://avatars0.githubusercontent.com/u/15200507?v=3","gravatar_id":"","url":"https://api.github.com/users/chwyean","html_url":"https://github.com/chwyean","followers_url":"https://api.github.com/users/chwyean/followers","following_url":"https://api.github.com/users/chwyean/following{/other_user}","gists_url":"https://api.github.com/users/chwyean/gists{/gist_id}","starred_url":"https://api.github.com/users/chwyean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chwyean/subscriptions","organizations_url":"https://api.github.com/users/chwyean/orgs","repos_url":"https://api.github.com/users/chwyean/repos","events_url":"https://api.github.com/users/chwyean/events{/privacy}","received_events_url":"https://api.github.com/users/chwyean/received_events","type":"User","site_admin":false},"assignees":[{"login":"chwyean","id":15200507,"avatar_url":"https://avatars0.githubusercontent.com/u/15200507?v=3","gravatar_id":"","url":"https://api.github.com/users/chwyean","html_url":"https://github.com/chwyean","followers_url":"https://api.github.com/users/chwyean/followers","following_url":"https://api.github.com/users/chwyean/following{/other_user}","gists_url":"https://api.github.com/users/chwyean/gists{/gist_id}","starred_url":"https://api.github.com/users/chwyean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chwyean/subscriptions","organizations_url":"https://api.github.com/users/chwyean/orgs","repos_url":"https://api.github.com/users/chwyean/repos","events_url":"https://api.github.com/users/chwyean/events{/privacy}","received_events_url":"https://api.github.com/users/chwyean/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-05-23T09:09:11Z","updated_at":"2017-05-24T06:30:30Z","closed_at":null,"body":"Hi there,\r\nWe are trying to use the **SSJ library** to fit time series data using B-splines. The goal is simply to reduce the number of data points we are storing instead of storing the complete time series.\r\nWe are storing control points and knots in a DB and then with the use of those params we want to get estimated original time series. We have an **evaluate** function in BSpline class which we can use to get original time series but problem is one needs b-spline object created through createApproxBSpline function to use that function.\r\n\r\nIs there any way by which we can make use of knots and control points (parameters we get by calling **createApproxBSpline** function) to create b-spline object which in turn can be used to call evaluate function and get estimate of original time series? If you have an example that shows how to actually **evaluate** the spline function using knots and control points at a given point in time it would\r\nreally help us. We are not sure right now if this is not possible in SSJ, or if we are using it incorrectly.Thanks for taking a look.Really appreciate it."},"comment":{"url":"https://api.github.com/repos/umontreal-simul/ssj/issues/comments/303630364","html_url":"https://github.com/umontreal-simul/ssj/issues/10#issuecomment-303630364","issue_url":"https://api.github.com/repos/umontreal-simul/ssj/issues/10","id":303630364,"user":{"login":"karanshah03","id":5396503,"avatar_url":"https://avatars2.githubusercontent.com/u/5396503?v=3","gravatar_id":"","url":"https://api.github.com/users/karanshah03","html_url":"https://github.com/karanshah03","followers_url":"https://api.github.com/users/karanshah03/followers","following_url":"https://api.github.com/users/karanshah03/following{/other_user}","gists_url":"https://api.github.com/users/karanshah03/gists{/gist_id}","starred_url":"https://api.github.com/users/karanshah03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karanshah03/subscriptions","organizations_url":"https://api.github.com/users/karanshah03/orgs","repos_url":"https://api.github.com/users/karanshah03/repos","events_url":"https://api.github.com/users/karanshah03/events{/privacy}","received_events_url":"https://api.github.com/users/karanshah03/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T06:30:30Z","updated_at":"2017-05-24T06:30:30Z","body":"This works. Thanks for the such a quick reply. Cheers."}}
{"actor":{"display_login":"karanshah03"}}