---
title: "Magnetotelluric Train"
method: POST
path: "/api/v1/frontier/magnetotelluric/train"
tags: ["Magnetotelluric Deep Imaging"]
---

# Magnetotelluric Train

`POST /api/v1/frontier/magnetotelluric/train`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/frontier/magnetotelluric/train`
- Auth: none declared

Retrain both rock type classifier and geothermal predictor.

Generates fresh synthetic training data and retrains the
GradientBoosting models from scratch. Saves updated models to
disk.

Parameters (JSON body):
- n_rock_samples : int -- Rock classifier training size (default 10000).
- n_geothermal_samples : int -- Geothermal predictor training size
    (default 5000).
- seed : int -- Random seed (default 42).

Returns training metrics for both models including accuracy,
cross-validation scores, and feature importances.

**Pricing:** Included in subscription tiers (legacy list price: GET /api/v1/billing/pricing).

## Query parameters

- `x_api_key` string, nullable

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
