Predicts the probability that a x3p scan will be good and also predicts the reason why it is bad quality if it is predicted to be bad quality.

predict_quality_one(x3p, cutoff = 0.57)

Arguments

x3p

x3p scan of a bullet land

cutoff

numeric value in [0,1] used as cut off between bad scans and good ones.

Value

a dataframe with one row, containing all feature values and a prediction of the scan quality

Examples

data(fau277_bb_l2)
predict_quality_one(fau277_bb_l2)
#>   quality_pred quality_type assess_percentile_na_proportion assess_col_na
#> 1        0.858         good                      0.08906883      4.716293
#>   extract_na assess_middle_na_proportion assess_rotation assess_bottomempty
#> 1   38.26887                    0.316787        1.111535           95.20528
#>   lighting_protocol
#> 1                 1