rusty-machine
rusty-machine copied to clipboard
Getting basic statistics
I am using the logit model
use rusty_machine::learning::logistic_reg::LogisticRegressor;
and I would like to get corresponding pvalues and error rates for the coeffs
my model looks like:
LogisticRegressor {
base: BaseLogisticRegressor {
parameters: Some(
Vector {
size: 8,
data: [
-0.7278923401926283,
0.06431233971308888,
0.0030272254896660214,
0.016991843894604487,
0.010915105151989409,
-0.012891552442079453,
0.006423837227273267,
0.007800680523993605,
],
},
),
},
alg: GradientDesc {
alpha: 0.2,
iters: 200,
},
}
how do I know which of theses parameters are statistically significant?