Parsed documentation:
View on GitHub
* Imports the rule tree from the input `rulesTree` for subsequent use by `predict()`.
* Note after a successful import, this can be used ONLY for prediction purpose
* and not for further ingestion and/or learning.
* @method RegressionTree#importJSON
* @param {json} rulesTree containg an earlier exported rule tree in JSON format.
* @return {boolean} always `true`.
* @throws {error} if `rulesTree` is `null`.
* @throws {error} if `rulesTree` can not be parsed as a valid JSON.
* @throws {error} if `rulesTree` is of incorrect version or incorrect format.
* @example
* var anRT = regressionTree();
* // Assuming that json has a valid rule tree.
* anRT.importJSON( rules );
No suggestions.
Please help! Open an issue on GitHub if this assessment is incorrect.