linreg-core 0.8.1

Lightweight regression library (OLS, Ridge, Lasso, Elastic Net, WLS, LOESS, Polynomial) with 14 diagnostic tests, cross validation, and prediction intervals. Pure Rust - no external math dependencies. WASM, Python, FFI, and Excel XLL bindings.
Documentation
{
  "test": "feature_importance",
  "method": "statsmodels",
  "dataset": "lh",
  "n": 48,
  "k": 1,
  "variable_names": [
    "value"
  ],
  "response": "time",
  "standardized_coefficients": {
    "variable_names": [
      "value"
    ],
    "standardized_coefficients": [
      0.3336561696086685
    ],
    "y_std": 95.97916440561461,
    "raw_coefficients": [
      8.468531468531456
    ]
  },
  "shap": {
    "variable_names": [
      "value"
    ],
    "shap_values": [
      [
        0.0
      ],
      [
        0.0
      ],
      [
        0.0
      ],
      [
        -1.693706293706289
      ],
      [
        -2.540559440559435
      ],
      [
        -7.62167832167831
      ],
      [
        -0.8468531468531464
      ],
      [
        -0.8468531468531464
      ],
      [
        0.8468531468531464
      ],
      [
        -3.3874125874125816
      ],
      [
        -4.234265734265728
      ],
      [
        -5.927972027972019
      ],
      [
        -1.693706293706289
      ],
      [
        -5.081118881118872
      ],
      [
        6.774825174825167
      ],
      [
        6.774825174825167
      ],
      [
        2.540559440559439
      ],
      [
        -1.693706293706289
      ],
      [
        -1.693706293706289
      ],
      [
        -4.234265734265728
      ],
      [
        -4.234265734265728
      ],
      [
        -5.081118881118872
      ],
      [
        2.540559440559439
      ],
      [
        5.081118881118874
      ],
      [
        -0.8468531468531464
      ],
      [
        -3.3874125874125816
      ],
      [
        -3.3874125874125816
      ],
      [
        4.234265734265728
      ],
      [
        4.234265734265728
      ],
      [
        2.540559440559439
      ],
      [
        2.540559440559439
      ],
      [
        -0.8468531468531464
      ],
      [
        1.6937062937062928
      ],
      [
        0.0
      ],
      [
        -5.081118881118872
      ],
      [
        -5.927972027972019
      ],
      [
        -7.62167832167831
      ],
      [
        -8.468531468531456
      ],
      [
        -2.540559440559435
      ],
      [
        7.62167832167831
      ],
      [
        9.315384615384602
      ],
      [
        9.315384615384602
      ],
      [
        5.927972027972021
      ],
      [
        1.6937062937062928
      ],
      [
        -2.540559440559435
      ],
      [
        8.468531468531456
      ],
      [
        5.081118881118874
      ],
      [
        4.234265734265728
      ]
    ],
    "base_value": 4.175524475524506,
    "mean_abs_shap": [
      3.810839160839155
    ]
  },
  "permutation_importance": {
    "variable_names": [
      "value"
    ],
    "importance": [
      0.08052067233678174
    ],
    "baseline_score": 0.11132643951792887,
    "n_permutations": 10,
    "seed": 42
  }
}