MCPcopy Create free account

hub / github.com/PriorLabs/tabpfn-client / functions

Functions396 in github.com/PriorLabs/tabpfn-client

↓ 26 callersMethod_validate_response
( response: httpx.Response, method_name: str, only_version_check: bool = False,
src/tabpfn_client/client.py:812
↓ 26 callersMethodcreate_default_for_version
Construct an estimator that uses the given version of the model. In addition to selecting the model, this also configures the estimator with
src/tabpfn_client/estimator.py:116
↓ 25 callersFunctionget_opts
()
src/tabpfn_client/options.py:31
↓ 23 callersMethodpredict
Predict regression target for X. Parameters ---------- X : array-like of shape (n_samples, n_features) The input
src/tabpfn_client/estimator.py:702
↓ 21 callersFunction_v
(**overrides)
tests/unit/test_thinking_validation.py:17
↓ 21 callersMethodfit
( self, X: pd.DataFrame | np.ndarray, y: pd.Series | np.ndarray, description:
src/tabpfn_client/estimator.py:308
↓ 21 callersMethodpredict
Predict class labels for samples in X. Args: X: The input samples. Returns: The predicted class labels.
src/tabpfn_client/estimator.py:368
↓ 18 callersMethodfit
( self, X: pd.DataFrame | np.ndarray, y: pd.Series | np.ndarray, description:
src/tabpfn_client/estimator.py:640
↓ 16 callersMethodpredict
(self, X, *, task_config, **kwargs)
tests/unit/test_estimator.py:183
↓ 14 callersFunctionwarn
(message: str)
src/tabpfn_client/ui.py:68
↓ 13 callersMethodfit
(self, X, y, *args, **kwargs)
tests/unit/test_estimator.py:179
↓ 13 callersMethodget_access_token
(cls)
src/tabpfn_client/client.py:232
↓ 13 callersFunctioninit
Initializes the TabPFN client and handles user authentication. This function checks for existing credentials, prompts for login/registration
src/tabpfn_client/config.py:34
↓ 12 callersFunction_clean_text_features
(X: pd.DataFrame)
src/tabpfn_client/estimator.py:959
↓ 12 callersFunction_fit_and_predict_regressor
(reg, X_train, y_train, X_test, **predict_kwargs)
tests/quick_test_v2.py:66
↓ 12 callersMethod_model_name_to_path
( cls, task: Literal["classification", "regression"], model_name: str | None )
src/tabpfn_client/estimator.py:96
↓ 10 callersMethodpredict_proba
Predict class probabilities for X. Args: X: The input samples. Returns: The class probabilities of the input
src/tabpfn_client/estimator.py:379
↓ 10 callersMethodset_token
(cls, access_token: str)
src/tabpfn_client/service_wrapper.py:55
↓ 10 callersMethodtry_browser_login
Attempts to perform browser-based login Returns (success: bool, token: str | None)
src/tabpfn_client/browser_auth.py:17
↓ 9 callersMethod_validate_model_name
(cls, model_name: str | None)
src/tabpfn_client/estimator.py:83
↓ 9 callersMethodget_model_limits
Fetch and cache dataset limits. The cache expires after 1 hour. Not thread-safe, but concurrent calls are benign: duplicates fetch the
src/tabpfn_client/client.py:236
↓ 9 callersMethodreset_authorization
(cls)
src/tabpfn_client/client.py:266
↓ 8 callersFunction_fit_and_predict_classifier
(clf, X_train, y_train, X_test)
tests/quick_test_v2.py:59
↓ 8 callersFunctionstatus
(message: str)
src/tabpfn_client/ui.py:81
↓ 8 callersFunctionsuccess
(message: str)
src/tabpfn_client/ui.py:64
↓ 5 callersFunction_model_limits_payload
( max_cells=100_000_000, max_cols=2_000, max_size_bytes=100_000_000, max_classes=10, max_r
tests/unit/test_tabpfn_classifier.py:30
↓ 5 callersFunction_model_limits_payload
( max_cells=100_000_000, max_cols=2_000, max_size_bytes=100_000_000, max_classes=10, max_r
tests/unit/test_tabpfn_regressor.py:31
↓ 5 callersMethodauthorize
(cls, access_token: str)
src/tabpfn_client/client.py:258
↓ 5 callersMethodindent
(text: str)
src/tabpfn_client/prompt_agent.py:45
↓ 5 callersMethodlist_available_models
(cls)
src/tabpfn_client/estimator.py:79
↓ 5 callersFunctionreset
Resets the client state and clears local authentication caches. Use this function if you need to log out or clear stored session data fr
src/tabpfn_client/config.py:109
↓ 5 callersMethodtry_reuse_existing_token
(cls)
src/tabpfn_client/service_wrapper.py:104
↓ 4 callersFunction_normalize_type
Reduce a type hint to a comparable core: unwrap ``Annotated[T, ...]`` and drop ``None`` from unions, so the server's all-optional ``X | None`` fie
tests/unit/test_estimator.py:36
↓ 4 callersMethod_prepare_train_set_upload_response
(self, train_set_upload_id: str)
tests/unit/test_client.py:80
↓ 4 callersFunctionfail
(message: str)
src/tabpfn_client/ui.py:72
↓ 4 callersFunctionmaybe_graceful_exit
()
src/tabpfn_client/prompt_agent.py:27
↓ 4 callersMethodprompt_and_set_token
Prompt for login/registration. Returns True if successful, False if interrupted.
src/tabpfn_client/prompt_agent.py:120
↓ 4 callersFunctionrun_task
(task: Callable, message: str, with_spinner: bool = True)
src/tabpfn_client/estimator.py:1008
↓ 4 callersMethodset_token_by_login
( cls, email: str, password: str )
src/tabpfn_client/service_wrapper.py:92
↓ 4 callersMethodsimulate_callback
Helper method to simulate the callback response
tests/unit/test_browser_auth.py:86
↓ 4 callersMethodtry_connection
Check if server is reachable and accepts the connection.
src/tabpfn_client/client.py:963
↓ 3 callersMethod_invoke
( self, X_test: Any, output_type: str, predict_params: Optional[Dict[str, Any]
src/tabpfn_client/sagemaker/estimator.py:204
↓ 3 callersMethod_invoke
( self, X_test: Any, output_type: str, predict_params: Optional[Dict[str, Any]
src/tabpfn_client/foundry/estimator.py:169
↓ 3 callersFunction_model_limits_payload
( max_cells=100_000_000, max_cols=2_000, max_size_bytes=100_000_000, max_classes=10, max_r
tests/unit/test_client.py:26
↓ 3 callersFunction_serialize_to_parquet
(df: pd.DataFrame)
src/tabpfn_client/client.py:150
↓ 3 callersMethod_upload_info
(url: str)
tests/unit/test_client.py:73
↓ 3 callersMethod_verify_user_email
(cls, access_token: str | None)
src/tabpfn_client/prompt_agent.py:632
↓ 3 callersMethodis_auth_token_outdated
Check if the provided access token is valid and return True if successful.
src/tabpfn_client/client.py:982
↓ 3 callersMethodprompt_and_retry
Prompt with validation and optional example.
src/tabpfn_client/prompt_agent.py:465
↓ 3 callersMethodprompt_terms_and_cond
Simplified terms prompt for registration flow.
src/tabpfn_client/prompt_agent.py:376
↓ 3 callersMethodregister
Register a new user with the provided credentials. Parameters ---------- email : str password : str
src/tabpfn_client/client.py:1033
↓ 3 callersMethodreset_cache
(cls)
src/tabpfn_client/service_wrapper.py:134
↓ 3 callersMethodvalidate_email
Send entered email to server that checks if it is valid and not already in use. Parameters ---------- email : str
src/tabpfn_client/client.py:1003
↓ 3 callersFunctionvalidate_thinking_mode
( thinking_mode: bool, thinking_effort: ThinkingEffort | None, thinking_timeout_s: float | None,
src/tabpfn_client/estimator.py:842
↓ 2 callersMethod__init__
( self, endpoint_url: str, api_key: str, task: str = "classification",
src/tabpfn_client/foundry/estimator.py:80
↓ 2 callersMethod_choice_with_retries
Prompt text and give user infinitely many attempts to select one of the possible choices. If valid choice is selected, return choice
src/tabpfn_client/prompt_agent.py:610
↓ 2 callersMethod_get_tabpfn_config
(self)
src/tabpfn_client/estimator.py:453
↓ 2 callersMethod_get_tabpfn_config
(self)
src/tabpfn_client/estimator.py:806
↓ 2 callersMethod_is_zip_file_empty
(zip_file_path: Path)
tests/unit/test_service_wrapper.py:163
↓ 2 callersMethod_predict
( self, X, output_type: Literal["probas", "preds"], )
src/tabpfn_client/estimator.py:390
↓ 2 callersMethod_predict_response
(self, prediction)
tests/unit/test_client.py:93
↓ 2 callersMethod_prepare_test_set_upload_response
(self, test_set_upload_id: str)
tests/unit/test_client.py:87
↓ 2 callersFunction_require_boto3
()
src/tabpfn_client/sagemaker/estimator.py:35
↓ 2 callersMethod_reset_token
(cls)
src/tabpfn_client/service_wrapper.py:138
↓ 2 callersMethod_runtime_client
(self)
src/tabpfn_client/sagemaker/estimator.py:151
↓ 2 callersFunction_to_jsonable
Coerce numpy / pandas inputs to plain Python lists for JSON.
src/tabpfn_client/sagemaker/estimator.py:43
↓ 2 callersFunction_to_jsonable
Coerce numpy / pandas inputs to plain Python lists for JSON.
src/tabpfn_client/foundry/estimator.py:28
↓ 2 callersMethoddelete_all_datasets
Delete all datasets uploaded by the user from the server. Returns ------- deleted_dataset_uids : list[str]
src/tabpfn_client/client.py:1312
↓ 2 callersMethoddelete_dataset
Delete the dataset with the provided UID from the server. Note that deleting a train set with lead to deleting all associated test se
src/tabpfn_client/client.py:1286
↓ 2 callersMethoddelete_user_account
(cls)
src/tabpfn_client/client.py:1330
↓ 2 callersMethoddownload_all_data
Download all data uploaded by the user from the server. Returns ------- save_path : Path | None The path
src/tabpfn_client/client.py:1253
↓ 2 callersFunctionget_client_version
()
src/tabpfn_client/client.py:135
↓ 2 callersMethodis_accessible_connection
(cls)
src/tabpfn_client/service_wrapper.py:51
↓ 2 callersMethodpassword_req_to_policy
Convert password requirement strings like "Length(8)" into a PasswordPolicy.
src/tabpfn_client/prompt_agent.py:55
↓ 2 callersMethodprompt_welcome
(cls)
src/tabpfn_client/prompt_agent.py:106
↓ 2 callersFunctionread_deps
(root_config, outer_name, inner_name)
scripts/gen_requirements.py:6
↓ 2 callersFunctionreload_opts
()
src/tabpfn_client/options.py:26
↓ 2 callersMethodretrieve_greeting_messages
Retrieve greeting messages that are new for the user.
src/tabpfn_client/client.py:1218
↓ 2 callersMethodsend_reset_password_email
Let the server send an email for resetting the password.
src/tabpfn_client/client.py:1184
↓ 2 callersMethodsend_verification_email
Let the server send an email for verifying the email.
src/tabpfn_client/client.py:1201
↓ 2 callersMethodset_token_by_registration
( cls, email: str, password: str, password_confirm: str, validation_li
src/tabpfn_client/service_wrapper.py:76
↓ 2 callersFunctionvalidate_test_set
Check the integrity of the test data.
src/tabpfn_client/estimator.py:918
↓ 2 callersFunctionvalidate_train_set
Check the integrity of the training data.
src/tabpfn_client/estimator.py:885
↓ 1 callersFunction_build_request_body
Assemble a Foundry `/predict` JSON body. When `cached_model_id` is provided, the body targets the V3 cache-hit path: `X_train` / `y_train` ar
src/tabpfn_client/foundry/estimator.py:37
↓ 1 callersMethod_build_tabpfn_config
(self)
src/tabpfn_client/sagemaker/estimator.py:117
↓ 1 callersMethod_build_tabpfn_config
(self)
src/tabpfn_client/foundry/estimator.py:112
↓ 1 callersMethod_build_thinking_block
Top-level wire fields for thinking-mode. Empty when inactive.
src/tabpfn_client/sagemaker/estimator.py:136
↓ 1 callersFunction_contains_none
(value: Any)
src/tabpfn_client/client.py:85
↓ 1 callersMethod_fit
( cls, req: FitRequest, timeout: float, headers: dict[str, str] | None = None,
src/tabpfn_client/client.py:537
↓ 1 callersFunction_get_crc32c_hash
Computes the CRC32C checksum and returns it as a base64 encoded string.
src/tabpfn_client/client.py:144
↓ 1 callersMethod_get_fit_status
( cls, fitted_train_set_id: UUID, headers: dict[str, str] | None = None, )
src/tabpfn_client/client.py:510
↓ 1 callersMethod_get_predict_params
(self, kwargs: dict[str, Any])
src/tabpfn_client/estimator.py:464
↓ 1 callersMethod_get_predict_params
(self, kwargs: dict[str, Any])
src/tabpfn_client/estimator.py:817
↓ 1 callersMethod_headers
(self)
src/tabpfn_client/foundry/estimator.py:129
↓ 1 callersMethod_http_client
(self)
src/tabpfn_client/foundry/estimator.py:136
↓ 1 callersMethod_invoke_async
Async Inference path: stage input through S3, invoke_endpoint_async, poll the OutputLocation S3 object. Required for payloads > 6 MB or
src/tabpfn_client/sagemaker/estimator.py:247
↓ 1 callersFunction_is_thinking_supported_model_path
Thinking is server-side supported only for v3 models (or the auto sentinel, which lets the server pick — currently a v3 model).
src/tabpfn_client/estimator.py:832
↓ 1 callersMethod_predict
( cls, req: PredictRequest, timeout: float, headers: dict[str, str] | None = N
src/tabpfn_client/client.py:694
↓ 1 callersMethod_predict_response
(prediction)
tests/unit/test_client.py:588
↓ 1 callersMethod_prepare_test_set_upload_response
(self, test_set_upload_id: str)
tests/unit/test_client.py:581
next →1–100 of 396, ranked by callers