| 6 | using namespace std; |
| 7 | |
| 8 | tomoto::RawDoc::MiscType GDMRModelObject::convertMisc(const tomoto::RawDoc::MiscType& o) const |
| 9 | { |
| 10 | tomoto::RawDoc::MiscType ret; |
| 11 | ret["metadata"] = getValueFromMiscDefault<string>("metadata", o, |
| 12 | "Since version 0.11.0, `GDMRModel` requires a `metadata` value in `str` type. You can store numerical metadata to a `numeric_metadata` argument." |
| 13 | ); |
| 14 | ret["numeric_metadata"] = getValueFromMiscDefault<vector<tomoto::Float>>("numeric_metadata", o, |
| 15 | "`GDMRModel` requires a `numeric_metadata` value in `Iterable[float]` type." |
| 16 | ); |
| 17 | return ret; |
| 18 | } |
| 19 | |
| 20 | GDMRModelObject::GDMRModelObject(size_t tw, size_t minCnt, size_t minDf, size_t rmTop, |
| 21 | size_t k, PyObject* degrees, PyObject* alpha, float eta, float sigma, float sigma0, float alphaEps, |
nothing calls this directly
no outgoing calls
no test coverage detected