Introduction


Figure 1

Poorly fitted data

Data preparation


Figure 1

Train and test set

Learning


Figure 1

Model training

Figure 2

Distance from target

Figure 3

Mean squared error

Figure 4

Model training

Modellinguse a single feature (apache score)note: remove the reshape if fitting to >1 input variablefit the model to our dataget the y valuesplot


Figure 1

Sigmoid function

Figure 2

  • You should see a plot similar to the one below: Logistic regression

  • Validation


    Figure 1

    Ren Hayakawa Archery Olympics

    Figure 2

    Validation set

    Figure 3

    5-fold validation

    Evaluation


    Figure 1

    Confusion matrix

    Figure 2

    AUROC

    Bootstrapping


    Figure 1

    Bootstrapped accuracy

    Figure 2

    Bootstrapped accuracy with confidence

    Data leakage


    Figure 1

    Dataset leakage