close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 16 years ago

Closed 15 years ago

#630 closed task (fixed)

User defined draw method for BSR non linear blocks

Reported by: Víctor de Buen Remiro Owned by: Víctor de Buen Remiro
Priority: normal Milestone: BSR API
Component: Math Version: 2.0.1
Severity: normal Keywords: BSR, non linear, draw
Cc:

Description

BSR user should be able to define its own draw method for non linear blocks when there is a faster way to simulate it

Change History (4)

comment:1 Changed 16 years ago by Víctor de Buen Remiro

Posible usefull cases are

  1. linear regressions with non gaussian residuals
  2. missing values on non linear inputs or output

comment:2 Changed 16 years ago by Víctor de Buen Remiro

Status: newassigned

Another posible usefull case is to deal with censored data

comment:3 Changed 16 years ago by Víctor de Buen Remiro

Milestone: BSR API
Version: 2.0.1

comment:4 Changed 15 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: assignedclosed

This problem was solved some time ago.

The filter can have a method with API
Matrix custom.partial.draw(Real void)

This method will be called just before to call draw method of corresponding internal non linear block in order to select which parameters will be drawn.

It will return a matrix with custom partial sampled values in selected indexes, and ? in other ones, that will be sampled by non linear block in the standard way, but conditioned by user provided sampling.

Note: See TracTickets for help on using tickets.