📄 sample.hpp
字号:
// $masm\sample.hpp 1.5 milbo$ functions for dealing with samples// Warning: this is raw research code -- expect it to be quite messy.// milbo petaluma mar 2006const static int CONF_nSamFileVersion = 0; // SAM file version (which is part of the magic nbr at start of file)typedef struct tSampleSpec { char sFile[SLEN]; // sample spec file name e.g. m2.sam, sFile[0]==0 means uninitialized char sFileTypes[FLEN]; // file types, only "B" or "m" or "a" or "*" for all are allowed int iSet; // row index in iSamples array (0 is test set, 1 is 1st cross validation set, etc.) int i; // which set of n-fold cross validation to use (if +ve) or exclude (if -ve) int n; // n-fold cross validation }tSampleSpec;void ParseSampleSpec(tSampleSpec &SampleSpec, // out const char sSampleSpec[]); // invoid GetShapesSpecifiedBySampleSpec(ShapeVec *pShapes, StringVec &TagStrings, // io const tSampleSpec &SampleSpec, bool fVerbose); // in
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -