Looking for usage documentation? Check out Embeddings.
TabPFNRegressor.get_embeddings
View source X.
Type aliases
Type aliases
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Gets the embeddings for the input data X.
TabPFNRegressor.get_embeddingsX.
TabPFNRegressor.get_embeddings(
X: XType,
data_source: Literal["train", "test"] = "test",
) -> np.ndarray
Type aliases
XType = Any
| Parameter | Type | Default | Description |
|---|---|---|---|
X | X | Required | The input data. |
data_ | Literal[“train”, “test”] | "test" | Select the transformer output to return. Use "train" to obtain embeddings from the training tokens and "test" for the test tokens. When n_estimators > 1 the returned array has shape (n_estimators, n_samples, embedding_dim). "train" is not available with fit_mode="fit_with_cache"; see tabpfn.base.get_embeddings. |
| Type | Description |
|---|---|
np.ndarray | np.ndarray The computed embeddings for each fitted estimator. |
Was this page helpful?