GithubHelp home page GithubHelp logo

Comments (1)

SoftwareLiteracy avatar SoftwareLiteracy commented on August 27, 2024

Thanks for illustrating these issues.

Since this was done on an old version (pre 1.7.5), and encapsulates multiple issues, I'm going to close it and reopen a new issue focusing on the library break predictiion output.

Please note it is recommended to use the new API, as it is consistent across implementations (C++, Python, R) and directly interfaces to cppEDM. Nonetheless, we certainly want to address the legacy (0.7.X) API compatibility.

I believe that the NaN alignment issue has been resolved. Here's output of the version 1.8

> block <- data.frame( time=1:10, x=sin((1:10)/pi), y=cos((1:10)/pi) )
> out <- block_lnlp( block, tp=2, columns=c("x","y"), target_column = "x", stats_only = FALSE )
> out $ model_output
   Index Observations Predictions Pred_Variance Const_Predictions
1      1      0.31296         NaN           NaN               NaN
2      2      0.59448         NaN           NaN               NaN
3      3      0.81627     0.96559     0.0003982           0.31296
4      4      0.95606     0.91359     0.0072469           0.59448
5      5      0.99978     0.92841     0.0024076           0.81627
6      6      0.94307     0.84251     0.0241079           0.95606
7      7      0.79160     0.79119     0.0389745           0.99978
8      8      0.56060     0.59761     0.0790172           0.94307
9      9      0.27328     0.34399     0.1140424           0.79160
10    10     -0.04149     0.39507     0.0318934           0.56060
11    11          NaN     0.09529     0.0413000           0.27328
12    12          NaN     0.17593     0.0557830          -0.04149

from redm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.