modeler
py3dinterpolations.modelling.modeler
¶
High-level modelling orchestrator.
Modeler(griddata, grid, model)
¶
Orchestrates fitting a model and predicting on a 3D grid.
Handles normalization-aware grid selection and standardization reversal.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
griddata
|
GridData
|
Training data. |
required |
grid
|
Grid3D
|
3D grid for predictions. |
required |
model
|
BaseModel
|
Fitted or unfitted BaseModel instance. Will be fit on construction. |
required |
Source code in py3dinterpolations/modelling/modeler.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | |
predict(**kwargs)
¶
Make predictions, handling normalization and standardization reversal.
Returns:
| Type | Description |
|---|---|
ndarray
|
Interpolated numpy array. |
Source code in py3dinterpolations/modelling/modeler.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |