Results
3D surface comparison
| Level | Cells ≤ level | Surface share | Status |
|---|---|---|---|
| Generate a plot to see contour statistics. | |||
Interpretation
Contour lines connect points with equal values. Generate a plot to view a tailored interpretation.
Validation
- No validation issues.
Formula used
A contour line contains coordinates sharing one function value. It satisfies f(x,y) = c, where c is a selected level.
The numerical gradient is estimated from nearby values. Gradient descent updates both coordinates opposite the local gradient direction.
∇f(x,y) = [∂f/∂x, ∂f/∂y] x(t+1) = x(t) - η ∂f/∂x y(t+1) = y(t) - η ∂f/∂y
How to use
- Select a function, grid, scattered dataset, or synthetic source.
- Choose ranges, resolution, interpolation, and transformations.
- Configure contour levels, colours, axes, and optional overlays.
- Enable gradient descent to inspect an optimization path.
- Generate the chart, review statistics, and export results.
Example data
| Use case | X | Y | Z | Interpretation |
|---|---|---|---|---|
| Loss landscape | Parameter one | Parameter two | Loss | Lower contours indicate preferred parameter regions. |
| Hyperparameter search | Learning rate | Regularization | Validation score | Higher contours indicate stronger model performance. |
| Decision surface | Feature one | Feature two | Class probability | The 0.5 contour can represent a decision boundary. |
Frequently asked questions
What does a contour line show?
It connects points having the same Z value. Closely spaced contours usually indicate rapid change.
Can I use scattered data?
Yes. The calculator interpolates scattered points onto a regular grid before plotting.
Which interpolation method should I choose?
Nearest neighbour preserves local samples. IDW and radial methods create smoother estimated surfaces.
How do contours help machine learning?
They reveal loss minima, parameter interactions, decision boundaries, confidence regions, and hyperparameter performance.
Why are some cells missing?
A function may be undefined there. Masking or outlier removal can also create missing cells.
What is a good grid resolution?
Start near eighty points per axis. Increase resolution carefully for smoother contours.
Can the calculator find a minimum?
It identifies the lowest sampled cell. The optimization simulator can also trace a local descent path.
How is the gradient calculated?
The calculator uses central finite differences where possible. Edge points use one-sided approximations.
Can I export the complete analysis?
Yes. Export images, CSV data, contour levels, JSON settings, copied results, or a PDF report.