Constructs a MaxEnt FeaturedSpace from background point count, occurrence sample indices, and a list of Feature objects.
Usage
maxent_featured_space_create(
num_points,
sample_indices,
feature_ptrs,
bias_weights = numeric(0)
)Arguments
- num_points
Integer: number of background points.
- sample_indices
Integer vector: 0-based indices of occurrence samples in the background array.
- feature_ptrs
List of external pointers to Feature objects (from
create_linear_feature()etc.).- bias_weights
Optional numeric vector of per-point bias weights (length
num_points). When supplied, background density is computed asbias[i] * exp(lp[i] - lpn)instead of the standardexp(lp[i] - lpn). Pass an empty vector (default) for uniform (unbiased) background.