validate_model
builtin
¶
validate_model(
model,
grade,
data,
values,
*,
weights=None,
domain_column=None,
density=None,
reference=None,
)
Statistics of a block model against the data it was estimated from, per domain and over all.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
BlockModel
|
The blocks; weighted by their tonnage, |
required |
grade
|
str or array_like
|
Column of |
required |
data
|
(PointSet, Table or dict)
|
The samples (composites). |
required |
values
|
str or array_like
|
Column of |
required |
weights
|
array_like or str
|
Declustering weights of |
None
|
domain_column
|
str or tuple of str
|
Domain column of both |
None
|
density
|
(float, array_like or str)
|
Block densities, or their column; default 1. |
None
|
reference
|
str or array_like
|
Other grades on the same blocks, e.g. the truth or a previous model. |
None
|
Returns:
| Type | Description |
|---|---|
Table
|
One row per domain (sorted, then |
used in