ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
ppforest2::stats::simulation::params::Regression Struct Reference

Regression simulation: linear model over i.i.d. features. More...

#include <Simulation.hpp>

Public Attributes

int n_informative = 0
 Informative feature count (0 → min(p, 5)).
 
types::Feature sd = 1.0F
 Standard deviation of feature values.
 
types::Feature y_intercept = 0.0F
 Base intercept added to every response.
 
types::Feature y_sd = 0.1F
 Standard deviation of response noise.
 

Detailed Description

Regression simulation: linear model over i.i.d. features.

Features drawn from Normal(0, sd); response is y_intercept + Σ coef_j * x_j + noise for the first n_informative features (default min(p, 5)). Coefficients are deterministic coef_j = j + 1 for reproducibility.

Member Data Documentation

◆ n_informative

int ppforest2::stats::simulation::params::Regression::n_informative = 0

Informative feature count (0 → min(p, 5)).

◆ sd

types::Feature ppforest2::stats::simulation::params::Regression::sd = 1.0F

Standard deviation of feature values.

◆ y_intercept

types::Feature ppforest2::stats::simulation::params::Regression::y_intercept = 0.0F

Base intercept added to every response.

◆ y_sd

types::Feature ppforest2::stats::simulation::params::Regression::y_sd = 0.1F

Standard deviation of response noise.


The documentation for this struct was generated from the following file: