ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This is the base class for generating objects that contain the contents of a sample/chain file generated by a ParaMonte sampler.
This class is meant to be primarily internally used by the ParaMonte MATLAB library samplers.
More...
Public Member Functions | |
function | FileContentsSample (in file, in silent, in sep) |
Return a scalar object of class pm.sampling.FileContentsSample. More... | |
function | setstats (in self) |
Compute the statistics of the parent object of class pm.sampling.FileContentsSample and store the results in the respective fields of the stats attribute of the parent object.More... | |
function | setvis (in self) |
Compute the statistics of the parent object of class pm.sampling.FileContentsSample and store the results in the respective fields of the stats attribute of the parent object.More... | |
Data Fields | |
Property | ndim |
Property | slfc |
Property | stats |
Property | vis |
Property | slfcname |
This is the base class for generating objects that contain the contents of a sample/chain file generated by a ParaMonte sampler.
This class is meant to be primarily internally used by the ParaMonte MATLAB library samplers.
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Definition at line 22 of file FileContentsSample.m.
function FileContentsSample::FileContentsSample | ( | in | file, |
in | silent, | ||
in | sep | ||
) |
Return a scalar object of class pm.sampling.FileContentsSample.
This is the constructor of the class pm.sampling.FileContentsSample.
[in] | file | : The input scalar MATLAB string containing the path to an external file. |
[in] | silent | : See the corresponding argument of pm.sampling.FileContentsRestart class. (optional. The default is set by pm.sampling.FileContentsRestart.) |
[in] | sep | : The input scalar MATLAB string containing the field separator used in the file. (optional, default = "," ) |
self
: The output scalar object of class pm.sampling.FileContentsSample.
Possible calling interfaces ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
function FileContentsSample::setstats | ( | in | self | ) |
Compute the statistics of the parent object of class pm.sampling.FileContentsSample and store the results in the respective fields of the stats
attribute of the parent object.
This is a dynamic Hidden
method of class pm.sampling.FileContentsSample.
It is inaccessible to the end users of the library.
[in] | self | : The input parent object of class pm.sampling.FileContentsSample which is implicitly passed to this dynamic method (not by the user). |
Possible calling interfaces ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
function FileContentsSample::setvis | ( | in | self | ) |
Compute the statistics of the parent object of class pm.sampling.FileContentsSample and store the results in the respective fields of the stats
attribute of the parent object.
This is a dynamic Hidden
method of class pm.sampling.FileContentsSample.
It is inaccessible to the end users of the library.
[in] | self | : The input parent object of class pm.sampling.FileContentsSample which is implicitly passed to this dynamic method (not by the user). |
Possible calling interfaces ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.
Property FileContentsSample::ndim |
ndim
The scalar MATLAB integer representing the number of dimensions of the domain of the objective function sampled.
This integer is also the number of columns in the file that correspond that contain the sampled states from the domain of the mathematical objective function.
Definition at line 39 of file FileContentsSample.m.
Property FileContentsSample::slfc |
slfc
The scalar MATLAB integer representing the column index of the dataframe component df
that contains the natural logarithm of the objective function values corresponding to the sampled states next to this column, such that the following relationship holds.
While this column index can be readily inferred by exploring the contents of the dataframe component, this column index is also computed and explicitly offered to conveniently slice the values of the sampled states and their corresponding log-function values.
Definition at line 59 of file FileContentsSample.m.
Property FileContentsSample::slfcname |
slfcname
The Hidden
scalar MATLAB string representing the column name of the dataframe component df
that contains the natural logarithm of the objective function values corresponding to the sampled states next to this column.
Hidden
class attribute that is inaccessible to the end users.Definition at line 99 of file FileContentsSample.m.
Property FileContentsSample::stats |
stats
The scalar MATLAB object containing the set of computed properties of the contents of the file.
This component is populated by the subclasses automatically.
It can also be manually constructed by calling the Hidden
class method pm.sampling.FileContentsSample::setstats.
Definition at line 70 of file FileContentsSample.m.
Property FileContentsSample::vis |
vis
The scalar MATLAB struct
containing the set of predefined visualizations for the output data.
This component is populated by the subclasses automatically.
It can also be manually constructed by calling the Hidden
class method pm.sampling.FileContentsSample::setvis.
Definition at line 80 of file FileContentsSample.m.