Assessing the Quality of a Predictive Model

After you build a model, you can review quality statistics to judge whether it is a good model to use.

See Also
Preparing an SD File for a Predictive Model
Building a Model in GTD
  1. From the Generative Therapeutics Design home page, click Open and in the Type list, select Models.
  2. From the list, click a model that you created.
  3. Click the Quality tab.
    The quality statistics for the model are displayed.
  4. Review the statistics for the model:
    Model TypesDescription
    Bayesian Classification, Random Forest Classification, and Random Forest Regression Values marked with “test” are from k-fold cross-validation—the remaining values are for the complete training set.

    For a description of k-fold cross-validation, see https://machinelearningmastery.com/k-fold-cross-validation/ and https://en.wikipedia.org/wiki/Cross-validation_(statistics).

    Bayesian Classification, Pharmacophore Classification Ensemble, and Random Forest Classification ROC AUC values close to 1 are good, and close to 0.5 are bad. Few off-diagonal elements in a confusion matrix are good. Many off-diagonal elements are bad.
    Pharmacophore Classification Ensemble Pharmacophore models are treated like the other classification models. However, because they take longer to train, GTD uses one-pass test set validation rather than k-fold cross-validation to assess the model quality:
    1. Input data are randomly divided into training and test sets, with 75% of data in training, and 25% in test.
    2. A pharmacophore model is built from the training data and evaluated against the test data, computing ROC curves, ROC AUC values, and confusion matrices.
    3. The model is rebuilt with 100% of the input data and saved in the GTD system.
    Random Forest Regression Rsquared and Qsquared values closer to 1 are good, and closer to 0 are bad. The smaller the root-mean-square error (RMSE) value the better, especially relative to the null model value. If the test RMSE is close to the null model RMSE, it is a sign of a poor model. Qsquared (Q2) is the Rsquared value that you get from applying the model to the test set instead of the training set.

    For GTD, the test set is the data that was held-out from cross-validation. For a description of Rsquared, see https://en.wikipedia.org/wiki/Coefficient_of_determination (GTD uses https://en.wikipedia.org/wiki/Coefficient_of_determination#As_squared_correlation_coefficient.)