Ozzy

Joined 25 March 2015
91 bytes added ,  26 March 2015
no edit summary
No edit summary
No edit summary
Line 85: Line 85:
The algorithm would find its place in one of the existing packages (where ''optim'' or ''signal'' sound appropriate) or as a separate package. I plan to prepare two versions of the general algorithm, (temporal name {{codeline|maxent}})
The algorithm would find its place in one of the existing packages (where ''optim'' or ''signal'' sound appropriate) or as a separate package. I plan to prepare two versions of the general algorithm, (temporal name {{codeline|maxent}})
* a version for problems defined by matrix. The function's declaration should be something like this
* a version for problems defined by matrix. The function's declaration should be something like this
{{Codeline|[x,info,...]=maxent(y,D,sigma,alpha=0.95, model=1, optset}}
{{Code|Linear problem declaration|<syntaxhighlight lang="octave" style="font-size:13px">|
function [x,info,...]=maxent(y,D,sigma,alpha=0.95, model=1, optset
}}
 
 
where {{codeline|y} is the data vector, and {{codeline|D}} is the transformation matrix. {{codeline|sigma}} should be a vector or scalar which describes standard deviation of values of {{codeline|y}}. The optional parameter {{codeline|alpha}} and {{codeline|model}} describe confidence and a priori distribution of {{codeline|x}} (defaults to flat) respectively. The last parameter {{codeline|optset}} would allow to pass additional parameters to function, similar to the ones in {{codeline|optim}} package.
where {{codeline|y} is the data vector, and {{codeline|D}} is the transformation matrix. {{codeline|sigma}} should be a vector or scalar which describes standard deviation of values of {{codeline|y}}. The optional parameter {{codeline|alpha}} and {{codeline|model}} describe confidence and a priori distribution of {{codeline|x}} (defaults to flat) respectively. The last parameter {{codeline|optset}} would allow to pass additional parameters to function, similar to the ones in {{codeline|optim}} package.


46

edits