Modelcache: Difference between revisions
Jump to navigation
Jump to search
imported>Scott No edit summary |
imported>Scott No edit summary |
||
Line 19: | Line 19: | ||
Modelcache stores models and data upon calculation in the [[analysis]] interface. See this [[Model Cache| manual]] page for more information. | Modelcache stores models and data upon calculation in the [[analysis]] interface. See this [[Model Cache| manual]] page for more information. | ||
===Options=== | |||
''options'' = a structure array with the following fields: | |||
* '''cache''': [ 'off' | {'on'} ] Turns caching ability on or off. | |||
* '''cachefolder''': [ ' ' ] Default is Eigenvector [[evridir|home director]]. | |||
* '''project''': ['general'] Current project folder for cache. | |||
* '''maxdatasize''': [6000^2] Maximum size of data (number or elements) that can be saved. | |||
* '''maxage''': [90] Maximum number of days to keep items in cache. | |||
===See Also=== | ===See Also=== | ||
[[evridir]] | [[evridir]] |
Revision as of 13:08, 3 October 2012
Purpose
Stores and retrieves models in the model cache.
Synopsis
- modelcache(model)
- modelcache(model,data)
- modelcache(model,data,prediction)
- modelcache list %list all cached objects
- modelcache clear %manually purge cache
- modelcache settings %modify modelcache settings
- success = modelcache('setdescription','name','description')
- obj = modelcache('get',name) %retrieve object from cache by name
- list = modelcache('whos') %return whos-style structure of objects
Description
Modelcache stores models and data upon calculation in the analysis interface. See this manual page for more information.
Options
options = a structure array with the following fields:
- cache: [ 'off' | {'on'} ] Turns caching ability on or off.
- cachefolder: [ ' ' ] Default is Eigenvector home director.
- project: ['general'] Current project folder for cache.
- maxdatasize: [6000^2] Maximum size of data (number or elements) that can be saved.
- maxage: [90] Maximum number of days to keep items in cache.