Fit, modelli e diagnostica
Dalla ricetta alla stima dei parametri, consulta le operazioni Numeric per adattare modelli, usare funzioni obiettivo e leggere la diagnostica.
Calcolo, modelli, statistiche e Dataset con Python
Dalla ricetta al modello
Scegli un modello con dominio e unità esplicite. Fornisci valori iniziali fisicamente coerenti per il nonlineare. Il fit riporta i parametri in ordine dichiarato, previsione, residui e diagnostica. Ricalcola i residui in scala fisica e controlla il rango prima di attribuire precisione ai parametri. Usa il modello catturato dal fit per predire e conserva l’identità della ricetta. Per più risposte o più regioni controlla ordine delle colonne, layout e continuità dichiarata.
Due percorsi per la funzione obiettivo
Nel Job Python registra una funzione model(p, x) con gxtxt_callback_register. Il ponte passa prima i parametri. Nelle ricette dichiarate controlla invece il nome dei parametri e le unità della formula. Una prova di invocazione con callback non dimostra che lo stesso fit supporti esportazione o serializzazione dell’handle.
Riferimento delle operazioni
Vai a un’operazione
fit_region_catalogfit_region_composefit_region_selectionfit_observation_signaturenested_f_testfit_information_criteriafit_model_catalogmodel_exportgeneralized_least_squarespolynomial_glsfit_characteristicsfit_initial_guessrational_residualsrational_model_composerational_domainrational_fitrational_evaluaterational_model_staterational_model_restoresurface_model_statesurface_model_restoresurface_model_composesurface_residualssurface_fitsurface_evaluatesurface_gridcomplex_model_composecomplex_fitcomplex_evaluatecomplex_residualscomplex_from_polarimplicit_model_composeimplicit_fitimplicit_evaluateimplicit_queryfit_formula_composefit_model_composelocal_cloud_fitfit_profileleast_squareslinear_regressionpolynomial_fitnonlinear_evaluatecurve_model_fitmodel_state_decodefit_input_policymodel_geometrymodel_querymodel_inversecurve_model_parameter_statecurve_model_evaluateroot_findminimize_1dminimizenonlinear_fitcovarianceleastSquaresfitInformationCriterianestedFTestfitProfilelinearRegressionpolynomialFitpolynomialEvaluatepropagateCovariancepolynomial_evaluate
fit_region_catalog
- Accesso
- registrata nel Job Python
- Argomenti
- nessun operando
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- schede descrittive regionali versionate
- Effetto
- Individua gli incrementi regionali riutilizzabili e le schede dei modelli scientifici
- Forma dichiarata
- bounded_model_cards
- Non finiti
- error
- Regola unità
- descriptor_relationships
gxtxt_api_call("NUMERIC_API_v1", "fit_region_catalog", args)Risultato registrato · fit_region_catalog
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[]
Esito, anteprima
{
"schema": "gxtxt.fit_region_catalog.v1",
"models": [
{
"id": "region.cubic_increment_v1",
"version": "1.0.0",
"name": "Cubic regional increment",
"description": "An increment from a regional start, composed with other regions into one joint continuous physical model.",
"descriptor_sha256": "027d06fab2f107d869d5cde79470c38c05a381c46a7f073bcbf7480cbb669042",
"increment": "slope*t+quadratic*t^2+cubic*t^3",
"derivative": "slope+2*quadratic*t+3*cubic*t^2",
"initialization": "Set dimensional initial slopes and shape coefficients from the observed regimes; set separate finite breakpoint search bounds. Defaults are placeholders. Use reviewed multistart when multiple minima are plausible.",
"uncertainty": "The joint fit includes correlations with other regions and free breakpoints. C1 eliminates this region's independent starting slope. Weak changes, unsupported regions, active bounds and rank deficiency restrict local covariance; it is not a profile interval or a model-selection test.",
"extrapolation": "The first and last increments continue outside observed support; gaps are model predictions. Exponential and polynomial continuations can grow rapidly. Coordinate translation is forbidden.",
"parameter_ids": [
"slope",
"quadratic",
"cubic"
],
"parameter_units": [
"Y/X",
"Y/X^2",
"Y/X^3"
],
"parameter_meanings": [
"Starting derivative of the response with respect to the physical predictor",
"Coefficient of the squared regional span",
"Coefficient of the cubed regional span"
],
"parameter_domains": [
"real",
"real",
"real"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
0.1,
0.01
]
},
"definition_sha256": "7c5bcd27ac2ffde690598bf99f4fd717a8cfd92cb2059dec77abb178b658386d"
},
{
"id": "region.exponential_increment_v1",
"version": "1.0.0",
"name": "Exponential regional increment",
"description": "An increment from a regional start, composed with other regions into one joint continuous physical model.",
"descriptor_sha256": "0010d70a6e3fbfeef68641a10d36f6c3f6f7948c571f164ed2ab606afa77b242",
"increment": "slope*t*exprel(rate*t)",
"derivative": "slope*exp(rate*t)",
"initialization": "Set dimensional initial slopes and shape coefficients from the observed regimes; set separate finite breakpoint search bounds. Defaults are placeholders. Use reviewed multistart when multiple minima are plausible.",
"uncertainty": "The joint fit includes correlations with other regions and free breakpoints. C1 eliminates this region's independent starting slope. Weak changes, unsupported regions, active bounds and rank deficiency restrict local covariance; it is not a profile interval or a model-selection test.",
"extrapolation": "The first and last increments continue outside observed support; gaps are model predictions. Exponential and polynomial continuations can grow rapidly. Coordinate translation is forbidden.",
"parameter_ids": [
"slope",
"rate"
],
"parameter_units": [
"Y/X",
"1/X"
],
"parameter_meanings": [
"Starting derivative of the response with respect to the physical predicto
[…]fit_region_compose
- Accesso
- registrata nel Job Python
- Argomenti
- ricetta di regione fisica con limiti espliciti per la ricerca dei punti di rottura
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- espressione dichiarata congelata e vincoli di raccordo
- Effetto
- Compone un unico modello raccordato C0/C1 con punti di rottura ordinati, fissi o adattati
- Tipi
- struct
- Forma dichiarata
- bounded_regional_recipe
- Non finiti
- error
- Regola unità
- explicit_physical_units
gxtxt_api_call("NUMERIC_API_v1", "fit_region_compose", args)Risultato registrato · fit_region_compose
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"x_unit": "V",
"y_unit": "mA",
"origin": 0.0,
"regions": [
{
"id": "left",
"model_id": "region.linear_increment_v1"
},
{
"id": "right",
"model_id": "region.exponential_increment_v1"
}
],
"breakpoints": [
{
"id": "junction",
"initial": 3.5,
"lower": 2.0,
"upper": 5.0,
"fixed": false,
"continuity": "C1"
}
],
"fit_windows": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
0.0,
6.0,
4.0,
10.0
]
},
"parameters": {
"level": {
"initial": 1.0
},
"left_slope": {
"initial": 0.4
},
"right_rate": {
"initial": 0.2
}
}
}
]Esito, anteprima
{
"kind": "expression",
"expression": [
"level+(left_slope*((minimum(x,junction)-(0))))+((left_slope)*(positive_part(x-junction))*exprel(right_rate*(positive_part(x-junction))))"
],
"parameter_ids": [
"level",
"junction",
"left_slope",
"right_rate"
],
"predictor_ids": [
"x"
],
"parameter_units": [
"mA",
"V",
"mA/(V)",
"1/(V)"
],
"initial_parameters": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
1.0,
3.5,
0.4,
0.2
]
},
"parameters": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
1.0,
3.5,
0.4,
0.2
]
},
"parameter_constraints": {
"initial_parameters": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
1.0,
3.5,
0.4,
0.2
]
},
"lower_bounds": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
-Infinity,
2.0,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
Infinity,
5.0,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"required_x_unit": "V",
"required_y_unit": "mA",
"translation_policy": "forbid_translation"
},
"regional_composition": {
"schema": "gxtxt.fit_regions.v1",
"recipe": {
"x_unit": "V",
"y_unit": "mA",
"origin": 0.0,
"regions": [
{
"id": "left",
"model_id": "region.linear_increment_v1"
},
{
"id": "right",
"model_id": "region.exponential_increment_v1"
}
],
"breakpoints": [
{
"id": "junction",
"initial": 3.5,
"lower": 2.0,
"upper": 5.0,
"fixed": 0.0,
"continuity": "C1"
}
],
"fit_windows": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
0.0,
6.0,
4.0,
10.0
]
},
"parameters": {
"level": {
"initial": 1.0
},
"left_slope": {
"initial": 0.4
},
"right_rate": {
"initial": 0.2
}
}
},
"cards": [
{
"id": "region.linear_increment_v1",
"version": "1.0.0",
"name": "Linear regional increment",
"description": "An increment from a regional start, composed with other regions into one joint continuous physical model.",
"descriptor_sha256": "1ab69e5c2a3d885fa44632d7f6233a3cbce93cc27ff4f192e1a51db3b3a1ac50",
"increment": "slope*t",
"derivative": "slope",
"initialization": "Set dimensional initial slopes and shape coefficients from the observed regimes; set separate finite breakpoint search bounds. Defaults are placeholders. Use reviewed multistart when multiple minima are plausible.",
"uncertainty": "The joint fit includes correlations with other regions and free breakpoints. C1 eliminates this region's independent starting slope. Weak changes, unsupported
[…]Esito del controllo negativo o del tentativo · fit_region_compose
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"x_unit": "V",
"y_unit": "mA",
"origin": 0.0,
"regions": [
{
"id": "left",
"model_id": "region.linear_increment_v1"
},
{
"id": "right",
"model_id": "region.exponential_increment_v1"
}
],
"breakpoints": [
{
"id": "junction",
"initial": 3.5,
"lower": 2.0,
"upper": 5.0,
"fixed": false,
"continuity": "C1"
}
],
"fit_windows": [
[
0.0,
4.0
],
[
6.0,
10.0
]
],
"parameters": {
"level": {
"initial": 1.0
},
"left_slope": {
"initial": 0.4
},
"right_rate": {
"initial": 0.2
}
}
}
]Esito, anteprima
"GXTXT:ScriptBridge:InvalidArguments: Numeric arguments require text, text lists, numeric arrays or scalar structs"
fit_region_selection
- Accesso
- registrata nel Job Python
- Argomenti
- modello regionale congelato e vettore fisico del predittore
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- maschera posizionale binaria e indici di regione con conteggi limitati
- Effetto
- Seleziona le osservazioni effettive tramite finestre di fit e ne identifica le regioni
- Tipi
- struct;real
- Forma dichiarata
- bounded_model;vector
- Non finiti
- finite_predictors_selected
- Regola unità
- physical_predictor
gxtxt_api_call("NUMERIC_API_v1", "fit_region_selection", args)Risultato registrato · fit_region_selection
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"kind": "expression",
"expression": [
"level+(left_slope*((minimum(x,junction)-(0))))+((left_slope)*(positive_part(x-junction))*exprel(right_rate*(positive_part(x-junction))))"
],
"parameter_ids": [
"level",
"junction",
"left_slope",
"right_rate"
],
"predictor_ids": [
"x"
],
"parameter_units": [
"mA",
"V",
"mA/(V)",
"1/(V)"
],
"initial_parameters": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
1.0,
3.5,
0.4,
0.2
]
},
"parameters": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
1.0,
3.5,
0.4,
0.2
]
},
"parameter_constraints": {
"initial_parameters": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
1.0,
3.5,
0.4,
0.2
]
},
"lower_bounds": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
-Infinity,
2.0,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
Infinity,
5.0,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
4,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"required_x_unit": "V",
"required_y_unit": "mA",
"translation_policy": "forbid_translation"
},
"regional_composition": {
"schema": "gxtxt.fit_regions.v1",
"recipe": {
"x_unit": "V",
"y_unit": "mA",
"origin": 0.0,
"regions": [
{
"id": "left",
"model_id": "region.linear_increment_v1"
},
{
"id": "right",
"model_id": "region.exponential_increment_v1"
}
],
"breakpoints": [
{
"id": "junction",
"initial": 3.5,
"lower": 2.0,
"upper": 5.0,
"fixed": 0.0,
"continuity": "C1"
}
],
[…]Esito, anteprima
{
"schema": "gxtxt.fit_region_selection.v1",
"selected_mask": {
"shape": [
11,
1
],
"dtype": "bool",
"values": [
true,
true,
true,
true,
true,
false,
true,
true,
true,
true,
true
]
},
"source_row_positions": {
"shape": [
10,
1
],
"dtype": "float64",
"values": [
1.0,
2.0,
3.0,
4.0,
5.0,
7.0,
8.0,
9.0,
10.0,
11.0
]
},
"region_indices": {
"shape": [
11,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0,
1.0,
2.0,
0.0,
2.0,
2.0,
2.0,
2.0,
2.0
]
},
"region_counts": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
6.0
]
},
"breakpoint_values": 3.5,
"input_count": 11.0,
"retained_count": 10.0,
"excluded_count": 1.0,
"index_base": 1.0,
"boundary_ownership": "right_region",
"fit_windows": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
0.0,
6.0,
4.0,
10.0
]
}
}fit_observation_signature
- Accesso
- registrata nel Job Python
- Argomenti
- vettore osservato, pesi positivi facoltativi, offset additivo della risposta (vuoto per ometterlo), predittori conservati
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- SHA limitato e ricevuta della normalizzazione gaussiana
- Effetto
- Registra l’impronta esatta delle osservazioni adattate e conserva la normalizzazione gaussiana dei pesi
- Tipi
- vector,vector,scalar,matrix
- Forma dichiarata
- equal_positive_weight_retained_rows
- Non finiti
- error
- Regola unità
- caller_declared_response_units
gxtxt_api_call("NUMERIC_API_v1", "fit_observation_signature", args)Risultato registrato · fit_observation_signature
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
40
],
"dtype": "float64",
"values": [
3.502397127693021,
3.8490402092700293,
4.195644905551329,
4.542205220750953,
4.888715749300064,
5.235171747734771,
5.581569197778721,
5.927904859781541,
6.274176315802433,
6.620382001766006,
6.966521228262664,
7.312594189716963
]
},
{
"shape": [
40
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
0.0,
{
"shape": [
40
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
}
]Esito, anteprima
{
"schema": "gxtxt.fit_observations.v1",
"n": 40.0,
"encoding": "float64_le_ordered",
"response_sha256": "05fea0764315040aea4872711a4e0f111e359b12891b19447cc9819f1be2a762",
"weights_sha256": "beb8b8ce5f9a3da261e2819d6b187b6496ce2416dff3c2f6a33eb49ae5fc2b69",
"log_weight_sum": 0.0,
"response_offset": 0.0,
"fit_response_sha256": "05fea0764315040aea4872711a4e0f111e359b12891b19447cc9819f1be2a762",
"predictor_count": 1.0,
"predictors_sha256": "540b38dec0cbc84dfea0b850d4e54eed58b808ae01f378396d0c83b6966cc7f5"
}nested_f_test
- Accesso
- registrata nel Job Python
- Argomenti
- piano pubblico CORE nested-F
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Statistica F, gradi di libertà e probabilità di coda superiore senza ripetere il fit.
- Effetto
- Calcola la statistica F per polinomi annidati dalla SSE già acquisita, senza ripetere il fit.
- Tipi
- struct
- Forma dichiarata
- bounded_CORE_nested_F_plan
- Non finiti
- error
- Regola unità
- explicit_CORE_plan
gxtxt_api_call("NUMERIC_API_v1", "nested_f_test", args)Risultato registrato · nested_f_test
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"api_id": "STATISTICAL_NESTED_F_PLAN_v1",
"api_version": 1.0,
"status": "value",
"reason": "",
"method": "complete_polynomial_spaces",
"reduced_id": "degree_1",
"full_id": "degree_2",
"n": 22.0,
"reduced_p": 2.0,
"full_p": 3.0,
"reduced_sse": 0.27406343935594457,
"full_sse": 0.24030958705743355,
"numerator_df": 1.0,
"denominator_df": 19.0,
"source_id": "synthetic_line",
"source_sha256": "d72098c4decf5a5689de1e11391dc7410d7ec86aa3f4e680c51134f0499052c3",
"rows_sha256": "fa6ec9ba7307dbf714e5bb050e41749591d3d20cf5fcae88bd1cf99b41ee5216",
"response_sha256": "9e76cffd934fc8aeed063a695ced927642757c3071e58e66745ba011d8ac6147"
}
]Esito, anteprima
{
"numeric_api": "NUMERIC_API_v1",
"operation": "nested_f_test",
"plan": {
"api_id": "STATISTICAL_NESTED_F_PLAN_v1",
"api_version": 1.0,
"status": "value",
"reason": "",
"method": "complete_polynomial_spaces",
"reduced_id": "degree_1",
"full_id": "degree_2",
"n": 22.0,
"reduced_p": 2.0,
"full_p": 3.0,
"reduced_sse": 0.27406343935594457,
"full_sse": 0.24030958705743355,
"numerator_df": 1.0,
"denominator_df": 19.0,
"source_id": "synthetic_line",
"source_sha256": "d72098c4decf5a5689de1e11391dc7410d7ec86aa3f4e680c51134f0499052c3",
"rows_sha256": "fa6ec9ba7307dbf714e5bb050e41749591d3d20cf5fcae88bd1cf99b41ee5216",
"response_sha256": "9e76cffd934fc8aeed063a695ced927642757c3071e58e66745ba011d8ac6147"
},
"status": "value",
"reason": "",
"f_statistic": 2.6687374462444327,
"p_value": 0.11879858241360768,
"numerator_df": 1.0,
"denominator_df": 19.0,
"sse_reduction": 0.03375385229851102,
"sse_roundoff_clamped": false
}Esito del controllo negativo o del tentativo · nested_f_test
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"api_id": "STATISTICAL_NESTED_F_PLAN_v1",
"api_version": 1.0,
"status": "unavailable",
"reason": "reduced: Active or undeclared constraints do not support these regular likelihood criteria",
"method": "complete_polynomial_spaces",
"reduced_id": "degree_1",
"full_id": "",
"n": "",
"reduced_p": "",
"full_p": "",
"reduced_sse": "",
"full_sse": "",
"numerator_df": "",
"denominator_df": "",
"source_id": "",
"source_sha256": "",
"rows_sha256": "",
"response_sha256": ""
}
]Esito, anteprima
"GXTXT:Numeric:NestedF: A valid public CORE nested-F plan is required"
fit_information_criteria
- Accesso
- registrata nel Job Python
- Argomenti
- piano pubblico CORE di selezione del modello
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- log-verosimiglianza, AIC, AICc condizionale e BIC senza nuovo fit
- Effetto
- Calcola i criteri di informazione dai risultati del fit acquisiti, senza ripetere il fit o la riduzione dei residui.
- Tipi
- struct
- Forma dichiarata
- bounded_CORE_model_selection_plan
- Non finiti
- error
- Regola unità
- explicit_CORE_plan
gxtxt_api_call("NUMERIC_API_v1", "fit_information_criteria", args)Risultato registrato · fit_information_criteria
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"api_id": "STATISTICAL_MODEL_SELECTION_PLAN_v1",
"api_version": 1.0,
"status": "value",
"reason": "",
"observation_status": "value",
"source_model_id": "math.numeric.nonlinear",
"source_id": "synthetic_line",
"source_sha256": "d72098c4decf5a5689de1e11391dc7410d7ec86aa3f4e680c51134f0499052c3",
"rows_sha256": "fa6ec9ba7307dbf714e5bb050e41749591d3d20cf5fcae88bd1cf99b41ee5216",
"n": 22.0,
"free_parameter_count": 2.0,
"weighted_sse": 0.27406343935594607,
"log_weight_sum": 0.0,
"response_sha256": "9e76cffd934fc8aeed063a695ced927642757c3071e58e66745ba011d8ac6147",
"weights_sha256": "0d811a1ed6f6ec848a389b2ea64546e82ff05e72ac15109d142c621edb8efc65",
"x_variable_id": "x",
"y_variable_id": "y",
"x_unit": "1"
}
]Esito, anteprima
{
"numeric_api": "NUMERIC_API_v1",
"operation": "fit_information_criteria",
"plan": {
"api_id": "STATISTICAL_MODEL_SELECTION_PLAN_v1",
"api_version": 1.0,
"status": "value",
"reason": "",
"observation_status": "value",
"source_model_id": "math.numeric.nonlinear",
"source_id": "synthetic_line",
"source_sha256": "d72098c4decf5a5689de1e11391dc7410d7ec86aa3f4e680c51134f0499052c3",
"rows_sha256": "fa6ec9ba7307dbf714e5bb050e41749591d3d20cf5fcae88bd1cf99b41ee5216",
"n": 22.0,
"free_parameter_count": 2.0,
"weighted_sse": 0.27406343935594607,
"log_weight_sum": 0.0,
"response_sha256": "9e76cffd934fc8aeed063a695ced927642757c3071e58e66745ba011d8ac6147",
"weights_sha256": "0d811a1ed6f6ec848a389b2ea64546e82ff05e72ac15109d142c621edb8efc65",
"x_variable_id": "x",
"y_variable_id": "y",
"x_unit": "1"
},
"n": 22.0,
"free_parameter_count": 2.0,
"likelihood_parameter_count": 3.0,
"log_likelihood": 17.023171614305262,
"aic": -28.046343228610525,
"aicc": -26.713009895277192,
"bic": -24.773215868535576,
"aicc_computed": true,
"variance_mle": 0.012457429061633912
}Esito del controllo negativo o del tentativo · fit_information_criteria
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"api_id": "STATISTICAL_MODEL_SELECTION_PLAN_v1",
"api_version": 1.0,
"status": "unavailable",
"reason": "Canonical predictor and response identities are required",
"observation_status": "unavailable",
"source_model_id": "math.numeric.nonlinear",
"source_id": "synthetic_line",
"source_sha256": "d72098c4decf5a5689de1e11391dc7410d7ec86aa3f4e680c51134f0499052c3",
"rows_sha256": "fa6ec9ba7307dbf714e5bb050e41749591d3d20cf5fcae88bd1cf99b41ee5216",
"n": 22.0,
"free_parameter_count": "",
"weighted_sse": "",
"log_weight_sum": 0.0,
"response_sha256": "9e76cffd934fc8aeed063a695ced927642757c3071e58e66745ba011d8ac6147",
"weights_sha256": "0d811a1ed6f6ec848a389b2ea64546e82ff05e72ac15109d142c621edb8efc65",
"x_variable_id": "",
"y_variable_id": "",
"x_unit": "1"
}
]Esito, anteprima
"GXTXT:Numeric:ModelSelection: A valid public CORE model-selection plan is required"
fit_model_catalog
- Accesso
- registrata nel Job Python
- Argomenti
- nessun operando
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- schede descrittive versionate indipendenti
- Effetto
- Individua i descrittori riutilizzabili dei modelli scalari e le schede dei modelli scientifici
- Forma dichiarata
- bounded_model_cards
- Non finiti
- error
- Regola unità
- descriptor_relationships
gxtxt_api_call("NUMERIC_API_v1", "fit_model_catalog", args)Risultato registrato · fit_model_catalog
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[]
Esito, anteprima
{
"schema": "gxtxt.fit_model_catalog.v1",
"models": [
{
"id": "baseline.constant_v1",
"version": "1.0.0",
"name": "Constant baseline",
"description": "The baseline is fitted jointly with the selected peaks; it does not replace source values.",
"descriptor_sha256": "2dd9c5928cff420f64f4274869d94d655d0684ce31b5e99af707e651d3e42d4d",
"expression": "level",
"parameter_ids": [
"level"
],
"parameter_units": [
"Y"
],
"parameter_meanings": [
"Constant response baseline"
],
"parameter_domains": [
"real"
],
"initial_parameters": 0.0,
"predictor": "x",
"method_class": "regression",
"input_domain": "finite_real",
"initialization": "Explicit user-reviewed parameter values; descriptor values are dimensional placeholders, not estimated from data.",
"derivatives": "Native automatic differentiation through the CORE controlled expression grammar.",
"uncertainty": "Local covariance and pointwise propagation subject to CORE rank, convergence, constraints and noise eligibility.",
"extrapolation": "Formula evaluation is permitted on finite real inputs, with model extrapolation kept distinct from validated data support."
},
{
"id": "baseline.linear_v1",
"version": "1.0.0",
"name": "Linear baseline",
"description": "The baseline is fitted jointly with the selected peaks; it does not replace source values.",
"descriptor_sha256": "c43520837d50f20c37f306863d1e835d252a014166ab62de1032b945543f5b30",
"expression": "intercept+slope*x",
"parameter_ids": [
"intercept",
"slope"
],
"parameter_units": [
"Y",
"Y/X"
],
"parameter_meanings": [
"Response baseline at x = 0",
"Baseline change per independent-coordinate unit"
],
"parameter_domains": [
"real",
"real"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
},
"predictor": "x",
"method_class": "regression",
"input_domain": "finite_real",
"initialization": "Explicit user-reviewed parameter values; descriptor values are dimensional placeholders, not estimated from data.",
"derivatives": "Native automatic differentiation through the CORE controlled expression grammar.",
"uncertainty": "Local covariance and pointwise propagation subject to CORE rank, convergence, constraints and noise eligibility.",
"extrapolation": "Formula evaluation is permitted on finite real inputs, with model extrapolation kept distinct from validated data support."
},
{
"id": "decay.exponential_v1",
"version": "1.0.0",
"name": "Exponential decay (amplitude, lifetime)",
"description": "One decay component with positive lifetime. Sum multiple independently named components for a multi-exponential model and add a separate baseline if required.",
"descriptor_sha256": "8868fe356b2fd2f442a15730985981ce66ee31f0513619da58b3da1ed98232a7",
"expression": "amplitude*exp(-x/tau)",
"parameter_ids": [
"amplitude",
"tau"
],
"parameter_units": [
"Y",
"X"
],
"parameter_meanings": [
"Signed amplitude at predictor zero",
"Strictly positive decay lifetime in pr
[…]model_export
- Accesso
- registrata nel Job Python
- Argomenti
- modello, opzioni di esportazione, compresi nome e dominio
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- testo python, octave, latex e metadata_json
- Effetto
- Genera funzioni indipendenti dallo stato di valutazione congelato
- Tipi
- struct,text
- Forma dichiarata
- frozen_model
- Non finiti
- error
- Regola unità
- explicit_axis_units
gxtxt_api_call("NUMERIC_API_v1", "model_export", args)Risultato registrato · model_export:declared
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"kind": "expression",
"expression": [
"a*x+b"
],
"parameter_ids": [
"a",
"b"
],
"parameter_units": [
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0,
1.0
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.9974129066037447,
2.007727237908525
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "b9a68d125273d2307d90c95175d7c74497835878c6f2e330a4823f555dec9dc5",
"binding_sha256": "91ac60511ddacd6749eae8c7f09449a6e458f7db4291f25f06ca6a4a2b551f4f",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0,
1.0
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "1",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"expression": "a*x+b",
"predictor_ids": [
"x"
],
"predictor_units": [
"1"
],
"response_unit": "1",
"parameters": [
{
"id": "a",
"initial": 2.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
}
]
},
"original_expression": "a*x+b",
"effective_expression": "a*x+b",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "a*x+b",
[…]Esito, anteprima
{
"python": "# SPDX-License-Identifier: GPL-3.0-or-later\n# Generated by NUMERIC_API_v1 model_export. No fitting or statistics.\n# {\"schema\":\"gxtxt.independent_model.v1\",\"model\":\"expression\",\"evaluation_representation\":\"expression\",\"function_name\":\"fit_declared_line\",\"orientation\":\"y_of_x\",\"domain\":[0.5,5],\"x_unit\":\"unspecified\",\"y_unit\":\"unspecified\",\"query_unit\":\"unspecified\",\"source_reference\":\"NUMERIC_API_v1 saved model\",\"parameter_units\":[],\"precision\":\"17 significant decimal digits, binary64 evaluation\",\"query_contract\":\"finite real scalar or vector; Nx2 physical X/Y output; outside evaluated domain refused\",\"license\":\"GPL-3.0-or-later\",\"python_dependencies\":\"NumPy; SciPy for erf or Voigt expressions\",\"octave_dependencies\":\"GNU Octave core; no GX-TXT runtime\",\"coefficient_order\":\"arrays in source order; polynomial and cubic powers descending\",\"comparison_tolerance\":\"abs(error) <= 5e-11 * max(1,abs(reference)); assess ill-conditioned expressions separately\",\"accepted_parameter_ids\":[],\"accepted_parameter_values\":[],\"parameter_units_order\":\"accepted_parameter_ids; evaluation constants may use a different basis\",\"coefficient_units_note\":\"Constants use the displayed fit-space formula and declared axis units. Parametric t is dimensionless; vector coordinate constants follow X then Y.\"}\nimport numpy as np\n\ndef fit_declared_line(q):\n if np.iscomplexobj(q): raise ValueError(\"Query must be real\")\n q = np.asarray(q, dtype=float)\n if q.ndim > 1: raise ValueError(\"Query must be a scalar or vector\")\n q = q.reshape(-1)\n if np.any(~np.isfinite(q)) or np.any(q < 0.5) or np.any(q > 5): raise ValueError(\"Query outside evaluated domain\")\n u = q + 0\n p = np.array([[2.9974129066037447, 2.0077272379085249]], dtype=float)\n v1 = p[0, 0]\n v2 = u\n v3 = (v1 * v2)\n v4 = p[0, 1]\n v5 = (v3 + v4)\n y = v5\n x = q\n y = np.broadcast_to(y, q.shape) - 0\n points = np.column_stack((x, y))\n if not np.all(np.isfinite(points)): raise ValueError(\"Model evaluated outside its finite domain\")\n return points\n\ndef _piecewise(u, knots, c, normalized):\n i = np.clip(np.searchsorted(knots, u, side='right')-1, 0, len(knots)-2)\n z = u-knots[i]\n if normalized:\n z = z/(knots[i+1]-knots[i])\n return ((c[i, 0]*z+c[i, 1])*z+c[i, 2])*z+c[i, 3]\n\n\ndef _erf(x):\n from scipy.special import erf\n return erf(x)\n\n\ndef _voigt(x, sigma, gamma):\n from scipy.special import voigt_profile\n if np.any(np.asarray(sigma) <= 0) or np.any(np.asarray(gamma) < 0):\n raise ValueError('Voigt needs sigma > 0 and gamma >= 0')\n return voigt_profile(x, sigma, gamma)\n\n\ndef _logistic(x):\n e = np.exp(-np.abs(x))\n return np.where(np.asarray(x) >= 0, 1/(1+e), e/(1+e))\n\n\ndef _positive(x):\n return np.maximum(x, 0)\n\n\ndef _exprel(x):\n x = np.asarray(x, dtype=float)\n result = np.empty_like(x)\n small = np.abs(x) < 1e-4\n z = x[small]\n result[small] = 1+z*(.5+z*(1/6+z*(1/24+z*(1/120+z/720))))\n with np.errstate(over='ignore', invalid='ignore'):\n moderate = (~small) & (x < 50)\n result[moderate] = np.expm1(x[moderate])/x[moderate]\n large = x >= 50\n result[large] = np.exp(x[large]-np.log(x[large]))*(-np.expm1(-x[large]))\n return result\n\n\ndef _shockley(v, saturation, thermal, resistance):\n # Monotone junction identity u + (Rs*Is/V
[…]Esito del controllo negativo o del tentativo · model_export:declared
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"kind": "expression",
"expression": [
"a*x+b"
],
"parameter_ids": [
"a",
"b"
],
"parameter_units": [
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0,
1.0
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.9974129066037447,
2.007727237908525
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "b9a68d125273d2307d90c95175d7c74497835878c6f2e330a4823f555dec9dc5",
"binding_sha256": "91ac60511ddacd6749eae8c7f09449a6e458f7db4291f25f06ca6a4a2b551f4f",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0,
1.0
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "1",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"expression": "a*x+b",
"predictor_ids": [
"x"
],
"predictor_units": [
"1"
],
"response_unit": "1",
"parameters": [
{
"id": "a",
"initial": 2.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
}
]
},
"original_expression": "a*x+b",
"effective_expression": "a*x+b",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "a*x+b",
[…]Esito, anteprima
"GXTXT:Numeric:Export: Export requires an explicit increasing finite evaluated domain"
generalized_least_squares
- Accesso
- registrata nel Job Python
- Argomenti
- matrice di progetto, risposta, covarianza, policy facoltativa
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Coefficienti, covarianza completa, identità esatta della sorgente e fatti sui residui sbiancati
- Effetto
- Adatta un progetto lineare con covarianza completa e correlata delle osservazioni e vincoli esatti a varianza nulla
- Tipi
- matrix,vector,matrix
- Forma dichiarata
- matching_rows_square_covariance
- Opzioni
- covariance_semantics=absolute,relative_scale;singular_policy=reject,exact_constraints;eigen_relative_tolerance=0..1e-6;symmetry_relative_tolerance=0..1e-6;constraint_relative_tolerance=0..1e-6;max_lag=1..64
- Non finiti
- error
- Regola unità
- explicit_covariance_in_squared_response_units
gxtxt_api_call("NUMERIC_API_v1", "generalized_least_squares", args)Risultato registrato · generalized_least_squares
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
40,
2
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
{
"shape": [
40
],
"dtype": "float64",
"values": [
3.502397127693021,
3.8490402092700293,
4.195644905551329,
4.542205220750953,
4.888715749300064,
5.235171747734771,
5.581569197778721,
5.927904859781541,
6.274176315802433,
6.620382001766006,
6.966521228262664,
7.312594189716963
]
},
{
"shape": [
40,
40
],
"dtype": "float64",
"values": [
0.01,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
}
]Esito, anteprima
{
"schema": "gxtxt.generalized_least_squares_numeric.v1",
"numeric_api": "NUMERIC_API_v1",
"operation": "generalized_least_squares",
"coefficients": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0077272378708235,
2.9974129066160904
]
},
"covariance": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
0.0013157181571815712,
-0.0003875338753387531,
-0.0003875338753387531,
0.00014092140921409202
]
},
"standard_errors": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.03627282946203082,
0.011871032356711527
]
},
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.5064336911788687,
3.8522890265576484,
4.1981443619364285,
4.543999697315208,
4.889855032693987,
5.235710368072768,
5.581565703451547,
5.927421038830326,
6.273276374209106,
6.619131709587886,
6.964987044966666,
7.310842380345446
]
},
"residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.0040365634858479105,
-0.0032488172876190546,
-0.002499456385099741,
-0.0017944765642550209,
-0.0011392833939227742,
-0.0005386203379966759,
3.4943271742804427e-06,
0.00048382095121457525,
0.0008999415933264032,
0.00125029217812056,
0.0015341832959983037,
0.001751809371516977
]
},
"whitened_residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.040365634858479105,
-0.032488172876190546,
-0.02499456385099741,
-0.01794476564255021,
-0.011392833939227742,
-0.005386203379966759,
3.494327174280443e-05,
0.0048382095121457525,
0.008999415933264032,
0.0125029217812056,
0.015341832959983037,
0.01751809371516977
]
},
"whitened_sequence": {
"numeric_api": "NUMERIC_API_v1",
"operation": "residual_sequence",
"schema": "gxtxt.residual_sequence_numeric.v1",
"input_count": 40.0,
"n": 40.0,
"omitted_count": 0.0,
"nonfinite_policy": "error",
"ordering": "input",
"key_storage_class": "uint64",
"generated_input_positions": true,
"tie_count": 0.0,
"tie_policy": "stable_input_order",
"input_residual_sha256": "cce58940be964b9bb60f09a92939a0f801bf006ba1916319a76972c15bebc2d0",
"input_order_sha256": "ae23dabcc4ac3a4abdb1b16d57ef1b5a24641cd336e51949815271a6618f16c4",
"ordered_residual_sha256": "cce58940be964b9bb60f09a92939a0f801bf006ba1916319a76972c15bebc2d0",
"ordered_keys_sha256": "ae23dabcc4ac3a4abdb1b16d57ef1b5a24641cd336e51949815271a6618f16c4",
"positive_count": 20.0,
"negative_count": 20.0
},
"observation_count": 40.0,
"parameter_count": 2.0,
"covariance_rank": 40.0,
"covariance_nullity": 0.0,
"exact_constraint_rank": 0.0,
"stochastic_parameter_count": 2.0,
"dof": 38.0,
"objective": 0.008661459538286122
}polynomial_gls
- Accesso
- registrata nel Job Python
- Argomenti
- x, y, grado, covarianza, policy facoltativa
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Coefficienti e covarianza fisici e scalati, con il significato GLS conservato
- Effetto
- Esegue il fit di un polinomio con la covarianza completa delle osservazioni in coordinate centrate condivise.
- Tipi
- vector,vector,scalar,matrix
- Forma dichiarata
- matching_rows_square_covariance
- Opzioni
- center_scale=true,false;covariance_semantics=absolute,relative_scale;singular_policy=reject,exact_constraints;eigen_relative_tolerance=0..1e-6;symmetry_relative_tolerance=0..1e-6;constraint_relative_tolerance=0..1e-6;max_lag=1..64
- Non finiti
- error
- Regola unità
- explicit_covariance_in_squared_response_units
gxtxt_api_call("NUMERIC_API_v1", "polynomial_gls", args)Risultato registrato · polynomial_gls
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
40
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
{
"shape": [
40
],
"dtype": "float64",
"values": [
3.502397127693021,
3.8490402092700293,
4.195644905551329,
4.542205220750953,
4.888715749300064,
5.235171747734771,
5.581569197778721,
5.927904859781541,
6.274176315802433,
6.620382001766006,
6.966521228262664,
7.312594189716963
]
},
2,
{
"shape": [
40,
40
],
"dtype": "float64",
"values": [
0.01,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
}
]Esito, anteprima
{
"schema": "gxtxt.generalized_least_squares_numeric.v1",
"numeric_api": "NUMERIC_API_v1",
"operation": "polynomial_gls",
"coefficients": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-0.000641466718222974,
3.0009409735663173,
2.0040141324441816
]
},
"covariance": {
"shape": [
3,
3
],
"dtype": "float64",
"values": [
9.948086114110934e-05,
-0.0005471447362761013,
0.0005758411385283443,
-0.0005471447362761015,
0.00315021745873265,
-0.0035546601372446474,
0.0005758411385283444,
-0.0035546601372446474,
0.004648952439816796
]
},
"standard_errors": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.009974009281182234,
0.05612679804454063,
0.06818322696834461
]
},
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.504324252547784,
3.8505041169467304,
4.196666900870931,
4.542812604320386,
4.888941227295095,
5.235052769795058,
5.5811472318202755,
5.927224613370749,
6.273284914446474,
6.619328135047456,
6.965354275173691,
7.311363334825182
]
},
"residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.001927124854763207,
-0.001463907676701126,
-0.0010219953196024534,
-0.0006073835694335727,
-0.0002254779950305874,
0.00011897793971282766,
0.00042196595844590234,
0.000680246410792229,
0.0008914013559584433,
0.0010538667185500117,
0.0011669530889726332,
0.0012308548917809858
]
},
"whitened_residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.01927124854763207,
-0.014639076767011261,
-0.010219953196024534,
-0.0060738356943357275,
-0.002254779950305874,
0.0011897793971282766,
0.0042196595844590234,
0.00680246410792229,
0.008914013559584433,
0.010538667185500117,
0.011669530889726332,
0.012308548917809858
]
},
"whitened_sequence": {
"numeric_api": "NUMERIC_API_v1",
"operation": "residual_sequence",
"schema": "gxtxt.residual_sequence_numeric.v1",
"input_count": 40.0,
"n": 40.0,
"omitted_count": 0.0,
"nonfinite_policy": "error",
"ordering": "input",
"key_storage_class": "uint64",
"generated_input_positions": true,
"tie_count": 0.0,
"tie_policy": "stable_input_order",
"input_residual_sha256": "f3cad9db571fc0f144244bd96aff667374874d693cb952984c872e2531102f4d",
"input_order_sha256": "ae23dabcc4ac3a4abdb1b16d57ef1b5a24641cd336e51949815271a6618f16c4",
"ordered_residual_sha256": "f3cad9db571fc0f144244bd96aff667374874d693cb952984c872e2531102f4d",
"ordered_keys_sha256": "ae23dabcc4ac3a4abdb1b16d57ef1b5a24641cd336e51949815271a6618f16c4",
"positive_count": 21.0,
"negative_count": 19.0
},
"observation_count": 40.0,
"parameter_count": 3.0,
"covariance_rank": 40.0,
"covariance_nullity": 0.0,
"exact_constraint_rank": 0.0,
"stochastic_parameter_count": 3.0,
"dof": 37.0,
"objective": 0.004525191055417126
}fit_characteristics
- Accesso
- registrata nel Job Python
- Argomenti
- predittori, risposta, soglie dichiarate facoltative
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- fatti limitati sulla forma e firma esatta della sorgente; il significato del modello consultivo spetta a CORE
- Effetto
- Esamina le proprietà finite della sorgente senza adattare né accettare un modello.
- Tipi
- real,real
- Forma dichiarata
- equal_finite_vectors
- Opzioni
- relative_flat_tolerance=0..0.001;monotonic_fraction=0.5..1;linearity_tolerance=0..0.25;prominence=positive_fraction;period_tolerance=0..0.5;saturation_ratio=0..1
- Non finiti
- error
- Regola unità
- caller_declared_physical_coordinate_basis
gxtxt_api_call("NUMERIC_API_v1", "fit_characteristics", args)Risultato registrato · fit_characteristics
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
40
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
{
"shape": [
40
],
"dtype": "float64",
"values": [
3.502397127693021,
3.8490402092700293,
4.195644905551329,
4.542205220750953,
4.888715749300064,
5.235171747734771,
5.581569197778721,
5.927904859781541,
6.274176315802433,
6.620382001766006,
6.966521228262664,
7.312594189716963
]
}
]Esito, anteprima
{
"schema": "gxtxt.fit_characteristics.v1",
"numeric_api": "NUMERIC_API_v1",
"operation": "fit_characteristics",
"status": "value",
"reason": "",
"observation_count": 40.0,
"distinct_predictors": 40.0,
"duplicate_predictors": false,
"predictor_minimum": 0.5,
"predictor_maximum": 5.0,
"response_minimum": 3.502397127693021,
"response_maximum": 16.995205378626686,
"positive_predictors": true,
"response_one_sign": true,
"constant_response": false,
"shape_status": "value",
"monotonic": "increasing",
"linear_like": true
}fit_initial_guess
- Accesso
- registrata nel Job Python
- Argomenti
- tipo di modello, predittori finiti, risposta, limiti/valori fissi/correnti facoltativi
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Valori iniziali proposti o dichiarati indisponibili, senza fit accettato né stima di incertezza.
- Effetto
- Suggerisce parametri iniziali verificati tramite le risoluzioni lineari Numeric esistenti e la valutazione nativa
- Tipi
- text,real,real
- Forma dichiarata
- equal_finite_vectors
- Opzioni
- degree=1..12;initial_parameters=finite_vector;lower_bounds=real_vector;upper_bounds=real_vector;fixed_mask=boolean_vector
- Non finiti
- error
- Regola unità
- caller_declared_physical_coordinate_basis
gxtxt_api_call("NUMERIC_API_v1", "fit_initial_guess", args)Risultato registrato · fit_initial_guess
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
"linear",
{
"shape": [
40
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
{
"shape": [
40
],
"dtype": "float64",
"values": [
3.502397127693021,
3.8490402092700293,
4.195644905551329,
4.542205220750953,
4.888715749300064,
5.235171747734771,
5.581569197778721,
5.927904859781541,
6.274176315802433,
6.620382001766006,
6.966521228262664,
7.312594189716963
]
}
]Esito, anteprima
{
"schema": "gxtxt.fit_initial_guess.v1",
"status": "proposed",
"model_kind": "linear",
"purpose": "initialization_only",
"nonlinear_optimization": false,
"observation_count": 40.0,
"nonfinite_policy": "error",
"source_mutation": false,
"auxiliary_linear_solves": 1.0,
"method": "existing_linear_least_squares",
"reason": "Initial suggestion only. Review physical units, bounds and fixed values; run the existing fit and inspect convergence/inference separately.",
"parameter_ids": [
"intercept",
"slope"
],
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0077272378708266,
2.9974129066160904
]
},
"model": {
"kind": "linear",
"expression": [
"intercept+slope*x"
],
"parameter_ids": [
"intercept",
"slope"
],
"predictor_ids": [
"x"
],
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0077272378708266,
2.9974129066160904
]
}
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
},
"clipped_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
}rational_residuals
- Accesso
- registrata nel Job Python
- Argomenti
- modello razionale conservato, x e y finiti, estrapolazione esplicita facoltativa
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- metriche condivise dei residui, residui fisici e ricevuta del dominio; nessuna inferenza di addestramento
- Effetto
- Valuta i residui razionali esatti senza fit né inferenza sui parametri
- Tipi
- struct,vector,vector,struct
- Forma dichiarata
- finite_paired_observations
- Opzioni
- extrapolation=error,allow
- Non finiti
- error
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "rational_residuals", args)Risultato registrato · rational_residuals
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.rational_model.v1",
"kind": "rational",
"recipe": {
"numerator_degree": 1.0,
"denominator_degree": 1.0,
"x_unit": "1",
"y_unit": "1",
"parameters": [
{
"id": "a0",
"unit": "1",
"initial": 2.0,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "a1",
"unit": "1",
"initial": 0.5,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "b1",
"unit": "1",
"initial": 0.25,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
}
],
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.0,
6.0
]
},
"pole_tolerance": 1e-10
},
"formula_model": {
"kind": "expression",
"expression": [
"(a0+a1*x^1)/(1+b1*x^1)"
],
"parameter_ids": [
"a0",
"a1",
"b1"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.000000000022552,
0.6999999996530155,
0.2999999998432868
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "480199c8c0a3c86a96597921ab8e5e762670fba65c8f92cd1b4ee620a7e56554",
"binding_sha256": "94075c6348fdd1207abb5021113273285c1e705cc2b577f4fcb9332b9e47fd79",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
[…]Esito, anteprima
{
"n": 40.0,
"sse": 3.443001511389815e-22,
"mse": 8.607503778474538e-24,
"rmse": 2.933854764379883e-12,
"mae": 2.485889272207942e-12,
"max_abs_error": 7.982059457845025e-12,
"r2": 1.0,
"response_variance": 0.0020044509770550402,
"max_relative_error": 3.906114202775225e-12,
"rms_relative_error": 1.385998109978159e-12,
"relative_n": 40.0,
"relative_floor": 0.0,
"operation": "rational_residuals",
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.000000000022552,
0.6999999996530155,
0.2999999998432868
]
},
"model": {
"schema": "gxtxt.rational_model.v1",
"kind": "rational",
"recipe": {
"numerator_degree": 1.0,
"denominator_degree": 1.0,
"x_unit": "1",
"y_unit": "1",
"parameters": [
{
"id": "a0",
"unit": "1",
"initial": 2.0,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "a1",
"unit": "1",
"initial": 0.5,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "b1",
"unit": "1",
"initial": 0.25,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
}
],
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.0,
6.0
]
},
"pole_tolerance": 1e-10
},
"formula_model": {
"kind": "expression",
"expression": [
"(a0+a1*x^1)/(1+b1*x^1)"
],
"parameter_ids": [
"a0",
"a1",
"b1"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.000000000022552,
0.6999999996530155,
0.2999999998432868
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "480199c8c0a3c86a96597921ab8e5e762670fba65c8f92cd1b4ee620a7e56554",
"binding_sha256": "94075c6348fdd1207abb5021113273285c1e705cc2b577f4fcb9332b9e47fd79",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.0,
[…]rational_model_compose
- Accesso
- registrata nel Job Python
- Argomenti
- coefficienti fisici, unità e dominio limitato
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- dichiarazione razionale convalidata tramite la compilazione dimensionale condivisa
- Effetto
- Dichiara termini polinomiali razionali con unità fisiche e un dominio esplicito
- Tipi
- struct
- Forma dichiarata
- data_only
- Non finiti
- error
- Regola unità
- dimensional
gxtxt_api_call("NUMERIC_API_v1", "rational_model_compose", args)Risultato registrato · rational_model_compose
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"numerator_degree": 1,
"denominator_degree": 1,
"x_unit": "1",
"y_unit": "1",
"domain": [
0.0,
6.0
],
"parameters": [
{
"id": "a0",
"initial": 2.0,
"unit": "1"
},
{
"id": "a1",
"initial": 0.5,
"unit": "1"
},
{
"id": "b1",
"initial": 0.25,
"unit": "1"
}
]
}
]Esito, anteprima
{
"schema": "gxtxt.rational_model.v1",
"kind": "rational",
"recipe": {
"numerator_degree": 1.0,
"denominator_degree": 1.0,
"x_unit": "1",
"y_unit": "1",
"parameters": [
{
"id": "a0",
"unit": "1",
"initial": 2.0,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "a1",
"unit": "1",
"initial": 0.5,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "b1",
"unit": "1",
"initial": 0.25,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
}
],
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.0,
6.0
]
},
"pole_tolerance": 1e-10
},
"formula_model": {
"kind": "expression",
"expression": [
"(a0+a1*x^1)/(1+b1*x^1)"
],
"parameter_ids": [
"a0",
"a1",
"b1"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "480199c8c0a3c86a96597921ab8e5e762670fba65c8f92cd1b4ee620a7e56554",
"binding_sha256": "94075c6348fdd1207abb5021113273285c1e705cc2b577f4fcb9332b9e47fd79",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "1",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"expression": "(a0+a1*x^1)/(1+b1*x^1)",
"predictor_ids": [
"x"
],
"predictor_units": [
"1"
],
"response_unit": "1",
"parameters": [
{
"id": "a0",
"unit": "1",
"initial": 2.0,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "a1",
"unit": "1",
"initial": 0.5,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id"
[…]rational_domain
- Accesso
- registrata nel Job Python
- Argomenti
- modello razionale compilato o ricetta fisica e dominio finito crescente
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- ricevuta dell’intervallo limitato e poli diagnostici; nessun fit
- Effetto
- Controlla un modello compilato o una ricetta fisica sull’intero intervallo senza fit e senza semplificare i fattori
- Tipi
- struct,vector
- Forma dichiarata
- two_bounds
- Non finiti
- error
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "rational_domain", args)Risultato registrato · rational_domain:pole
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"numerator_degree": 1,
"denominator_degree": 1,
"x_unit": "1",
"y_unit": "1",
"domain": [
0.0,
6.0
],
"parameters": [
{
"id": "a0",
"initial": 2.0,
"unit": "1"
},
{
"id": "a1",
"initial": 0.5,
"unit": "1"
},
{
"id": "b1",
"initial": -0.25,
"unit": "1"
}
]
},
[
0.0,
6.0
]
]Esito, anteprima
{
"schema": "gxtxt.rational_domain.v1",
"status": "unsafe",
"reason": "Denominator reaches a pole or the declared relative near-zero threshold",
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.0,
6.0
]
},
"coordinate_unit": "1",
"denominator_constant": 1.0,
"numerator_degree": 1.0,
"denominator_degree": 1.0,
"denominator_coefficients_descending": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
-0.25,
1.0
]
},
"denominator_coefficient_bound": 2.5,
"relative_margin_lower_bound": 0.0,
"pole_tolerance": 1e-10,
"interval_nodes": 1.0,
"method": "bounded_binary64_Bernstein_sign_guard",
"root_method": "Octave_roots_diagnostic_only",
"poles_real_imag": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
4.0,
0.0
]
},
"possible_common_factor": false,
"cancellation_policy": "no_automatic_factor_cancellation"
}rational_fit
- Accesso
- registrata nel Job Python
- Argomenti
- modello, predittore, risposta, impostazioni facoltative del rumore e del solutore
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Covarianza acquisita del fit, osservazioni esatte e riepilogo qualificato del modello razionale.
- Effetto
- Adatta una risposta razionale con il componente Ceres condiviso e un dominio protetto
- Tipi
- struct,vector,vector,struct
- Forma dichiarata
- paired_observations
- Opzioni
- nonfinite=error,omit
- Non finiti
- error,omit
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "rational_fit", args)Risultato registrato · rational_fit
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.rational_model.v1",
"kind": "rational",
"recipe": {
"numerator_degree": 1.0,
"denominator_degree": 1.0,
"x_unit": "1",
"y_unit": "1",
"parameters": [
{
"id": "a0",
"unit": "1",
"initial": 2.0,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "a1",
"unit": "1",
"initial": 0.5,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "b1",
"unit": "1",
"initial": 0.25,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
}
],
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.0,
6.0
]
},
"pole_tolerance": 1e-10
},
"formula_model": {
"kind": "expression",
"expression": [
"(a0+a1*x^1)/(1+b1*x^1)"
],
"parameter_ids": [
"a0",
"a1",
"b1"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "480199c8c0a3c86a96597921ab8e5e762670fba65c8f92cd1b4ee620a7e56554",
"binding_sha256": "94075c6348fdd1207abb5021113273285c1e705cc2b577f4fcb9332b9e47fd79",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape":
[…]Esito, anteprima
{
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.000000000022552,
0.6999999996530155,
0.2999999998432868
]
},
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
2.0434782608775475,
2.0519480519538855,
2.0599369085213635,
2.067484662579164,
2.0746268656728293,
2.0813953488373222,
2.087818696883079,
2.0939226519322047,
2.099730458218948,
2.105263157892207,
2.1105398457554823,
2.1155778894441175
]
},
"residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-7.982059457845025e-12,
-5.8335558605904225e-12,
-4.013678278624866e-12,
-2.4766855233337992e-12,
-1.1874945471390674e-12,
-1.127986593019159e-13,
7.73159314348959e-13,
1.497024726404561e-12,
2.0761170560490427e-12,
2.5290880500961066e-12,
2.872813098520055e-12,
3.1188385207769898e-12
]
},
"weighted_residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-7.982059457845025e-12,
-5.8335558605904225e-12,
-4.013678278624866e-12,
-2.4766855233337992e-12,
-1.1874945471390674e-12,
-1.127986593019159e-13,
7.73159314348959e-13,
1.497024726404561e-12,
2.0761170560490427e-12,
2.5290880500961066e-12,
2.872813098520055e-12,
3.1188385207769898e-12
]
},
"objective": 3.443001511389815e-22,
"sse": 3.443001511389815e-22,
"rss": 3.443001511389815e-22,
"rmse": 3.050476928324937e-12,
"residual_rmse": 3.050476928324937e-12,
"response_rmse": 2.933854764379883e-12,
"r_squared": 1.0,
"adjusted_r_squared": 1.0,
"dof": 37.0,
"rank": 3.0,
"condition_number": 463.57435895541903,
"scaled_condition_number": 410.4762549379598,
"covariance": {
"shape": [
3,
3
],
"dtype": "float64",
"values": [
1.622873252687898e-23,
-2.1188997103941394e-22,
-9.530988232213563e-23,
-2.1188997103941394e-22,
3.2539439433800303e-21,
1.469533743384959e-21,
-9.530988232213563e-23,
1.469533743384959e-21,
6.637482373976143e-22
]
},
"standard_errors": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
4.028490105098805e-12,
5.704335143888401e-11,
2.5763311848394304e-11
]
}
}rational_evaluate
- Accesso
- registrata nel Job Python
- Argomenti
- modello, coordinate, estrapolazione esplicita facoltativa e derivate
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- previsioni, flag del dominio e controllo del denominatore sull’intero intervallo
- Effetto
- Valuta i parametri razionali conservati con protezione dall’attraversamento dei poli
- Tipi
- struct,vector,struct
- Forma dichiarata
- finite_query
- Opzioni
- extrapolation=error,allow;jacobian=boolean;predictor_derivative=boolean
- Non finiti
- error
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "rational_evaluate", args)Risultato registrato · rational_evaluate
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.rational_model.v1",
"kind": "rational",
"recipe": {
"numerator_degree": 1.0,
"denominator_degree": 1.0,
"x_unit": "1",
"y_unit": "1",
"parameters": [
{
"id": "a0",
"unit": "1",
"initial": 2.0,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "a1",
"unit": "1",
"initial": 0.5,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "b1",
"unit": "1",
"initial": 0.25,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
}
],
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.0,
6.0
]
},
"pole_tolerance": 1e-10
},
"formula_model": {
"kind": "expression",
"expression": [
"(a0+a1*x^1)/(1+b1*x^1)"
],
"parameter_ids": [
"a0",
"a1",
"b1"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.000000000022552,
0.6999999996530155,
0.2999999998432868
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "480199c8c0a3c86a96597921ab8e5e762670fba65c8f92cd1b4ee620a7e56554",
"binding_sha256": "94075c6348fdd1207abb5021113273285c1e705cc2b577f4fcb9332b9e47fd79",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
[…]Esito, anteprima
{
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
2.0434782608775475,
2.0519480519538855,
2.0599369085213635,
2.067484662579164,
2.0746268656728293,
2.0813953488373222,
2.087818696883079,
2.0939226519322047,
2.099730458218948,
2.105263157892207,
2.1105398457554823,
2.1155778894441175
]
},
"derivative_method": "not_requested",
"source_sha256": "480199c8c0a3c86a96597921ab8e5e762670fba65c8f92cd1b4ee620a7e56554",
"binding_sha256": "94075c6348fdd1207abb5021113273285c1e705cc2b577f4fcb9332b9e47fd79",
"parameter_ids": [
"a0",
"a1",
"b1"
],
"predictor_ids": [
"x"
],
"schema": "gxtxt.rational_evaluation.v1",
"query": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
"points": {
"shape": [
40,
2
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.5,
5.0
]
},
"is_extrapolated": {
"shape": [
40,
1
],
"dtype": "bool",
"values": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
]
},
"coordinate_units": [
"1",
"1"
],
"domain_receipt": {
"schema": "gxtxt.rational_domain.v1",
"status": "safe",
"reason": "Whole declared interval has a bounded nonzero denominator",
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.0,
6.0
]
},
"coordinate_unit": "1",
"denominator_constant": 1.0,
"numerator_degree": 1.0,
"denominator_degree": 1.0,
"denominator_coefficients_descending": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.2999999998432868,
1.0
]
},
"denominator_coefficient_bound": 2.799999999059721,
"relative_margin_lower_bound": 0.3571428572627907,
"pole_tolerance": 1e-10,
"interval_nodes": 1.0,
"method": "bounded_binary64_Bernstein_sign_guard",
"root_method": "Octave_roots_diagnostic_only",
"poles_real_imag": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
-3.3333333350745913,
0.0
]
},
"possible_common_factor": false,
"cancellation_policy": "no_automatic_factor_cancellation"
},
"fit_performed": false
}rational_model_state
- Accesso
- registrata nel Job Python
- Argomenti
- modello razionale conservato e convalidato
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- ricetta fisica inerte, parametri, domini e identità
- Effetto
- Acquisisce i parametri e il dominio della ricetta fisica razionale
- Tipi
- struct
- Forma dichiarata
- retained_model
- Non finiti
- error
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "rational_model_state", args)Risultato registrato · rational_model_state
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.rational_model.v1",
"kind": "rational",
"recipe": {
"numerator_degree": 1.0,
"denominator_degree": 1.0,
"x_unit": "1",
"y_unit": "1",
"parameters": [
{
"id": "a0",
"unit": "1",
"initial": 2.0,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "a1",
"unit": "1",
"initial": 0.5,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "b1",
"unit": "1",
"initial": 0.25,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
}
],
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.0,
6.0
]
},
"pole_tolerance": 1e-10
},
"formula_model": {
"kind": "expression",
"expression": [
"(a0+a1*x^1)/(1+b1*x^1)"
],
"parameter_ids": [
"a0",
"a1",
"b1"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.000000000022552,
0.6999999996530155,
0.2999999998432868
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "480199c8c0a3c86a96597921ab8e5e762670fba65c8f92cd1b4ee620a7e56554",
"binding_sha256": "94075c6348fdd1207abb5021113273285c1e705cc2b577f4fcb9332b9e47fd79",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
[…]Esito, anteprima
{
"schema": "gxtxt.rational_state.v1",
"recipe": {
"numerator_degree": 1.0,
"denominator_degree": 1.0,
"x_unit": "1",
"y_unit": "1",
"parameters": [
{
"id": "a0",
"unit": "1",
"initial": 2.0,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "a1",
"unit": "1",
"initial": 0.5,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "b1",
"unit": "1",
"initial": 0.25,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
}
],
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.0,
6.0
]
},
"pole_tolerance": 1e-10
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.000000000022552,
0.6999999996530155,
0.2999999998432868
]
},
"declaration_sha256": "92fdda0942c5c69c28f7775330a513fb63501f10b0044186051b9399666e3d56",
"source_sha256": "480199c8c0a3c86a96597921ab8e5e762670fba65c8f92cd1b4ee620a7e56554",
"binding_sha256": "94075c6348fdd1207abb5021113273285c1e705cc2b577f4fcb9332b9e47fd79",
"observation_domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.5,
5.0
]
}
}rational_model_restore
- Accesso
- registrata nel Job Python
- Argomenti
- stato razionale acquisito
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- modello convalidato con parametri fisici e identità esatti
- Effetto
- Ripristina lo stato razionale senza fit e senza cambiarne il dominio
- Tipi
- struct
- Forma dichiarata
- retained_state
- Non finiti
- error
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "rational_model_restore", args)Risultato registrato · rational_model_restore
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.rational_state.v1",
"recipe": {
"numerator_degree": 1.0,
"denominator_degree": 1.0,
"x_unit": "1",
"y_unit": "1",
"parameters": [
{
"id": "a0",
"unit": "1",
"initial": 2.0,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "a1",
"unit": "1",
"initial": 0.5,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "b1",
"unit": "1",
"initial": 0.25,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
}
],
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.0,
6.0
]
},
"pole_tolerance": 1e-10
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.000000000022552,
0.6999999996530155,
0.2999999998432868
]
},
"declaration_sha256": "92fdda0942c5c69c28f7775330a513fb63501f10b0044186051b9399666e3d56",
"source_sha256": "480199c8c0a3c86a96597921ab8e5e762670fba65c8f92cd1b4ee620a7e56554",
"binding_sha256": "94075c6348fdd1207abb5021113273285c1e705cc2b577f4fcb9332b9e47fd79",
"observation_domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.5,
5.0
]
}
}
]Esito, anteprima
{
"schema": "gxtxt.rational_model.v1",
"kind": "rational",
"recipe": {
"numerator_degree": 1.0,
"denominator_degree": 1.0,
"x_unit": "1",
"y_unit": "1",
"parameters": [
{
"id": "a0",
"unit": "1",
"initial": 2.0,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "a1",
"unit": "1",
"initial": 0.5,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "b1",
"unit": "1",
"initial": 0.25,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
}
],
"domain": {
"shape": [
1,
2
],
"dtype": "float64",
"values": [
0.0,
6.0
]
},
"pole_tolerance": 1e-10
},
"formula_model": {
"kind": "expression",
"expression": [
"(a0+a1*x^1)/(1+b1*x^1)"
],
"parameter_ids": [
"a0",
"a1",
"b1"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.000000000022552,
0.6999999996530155,
0.2999999998432868
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "480199c8c0a3c86a96597921ab8e5e762670fba65c8f92cd1b4ee620a7e56554",
"binding_sha256": "94075c6348fdd1207abb5021113273285c1e705cc2b577f4fcb9332b9e47fd79",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
0.5,
0.25
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "1",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"expression": "(a0+a1*x^1)/(1+b1*x^1)",
"predictor_ids": [
"x"
],
"predictor_units": [
"1"
],
"response_unit": "1",
"parameters": [
{
"id": "a0",
"unit": "1",
"initial": 2.0,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.0
},
{
"id": "a1",
"unit": "1",
"initial": 0.5,
"lower": -Infinity,
"upper": Infinity,
"fixed": 0.
[…]surface_model_state
- Accesso
- registrata nel Job Python
- Argomenti
- modello di superficie adattato e convalidato
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- parametri inerti della ricetta completa, dominio qualificato e identità
- Effetto
- Acquisisce i parametri e il dominio della ricetta di superficie fisica senza fit
- Tipi
- struct
- Forma dichiarata
- retained_surface
- Non finiti
- error
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "surface_model_state", args)Risultato registrato · surface_model_state
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.surface_model.v1",
"kind": "surface",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"formula_model": {
"kind": "expression",
"expression": [
"a*x+b*y+c"
],
"parameter_ids": [
"a",
"b",
"c"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
2.999999999999926,
1.0
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
[…]Esito, anteprima
{
"schema": "gxtxt.surface_state.v1",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
2.999999999999926,
1.0
]
},
"observation_domain": {
"bounds": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
-2.0,
-1.0,
2.0,
1.0
]
},
"meaning": "axis_bounds_not_observation_coverage"
},
"declaration_sha256": "59327649ebcd1b3b7be407df2d3b968e9e2c4fb922166979f94df145a82e8a55",
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da"
}surface_model_restore
- Accesso
- registrata nel Job Python
- Argomenti
- stato di superficie conservato e versionato
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- modello fisico convalidato con parametri e identità esatti
- Effetto
- Ripristina e convalida le identità esatte della superficie fisica senza fit
- Tipi
- struct
- Forma dichiarata
- retained_surface_state
- Non finiti
- error
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "surface_model_restore", args)Risultato registrato · surface_model_restore
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.surface_state.v1",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
2.999999999999926,
1.0
]
},
"observation_domain": {
"bounds": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
-2.0,
-1.0,
2.0,
1.0
]
},
"meaning": "axis_bounds_not_observation_coverage"
},
"declaration_sha256": "59327649ebcd1b3b7be407df2d3b968e9e2c4fb922166979f94df145a82e8a55",
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da"
}
]Esito, anteprima
{
"schema": "gxtxt.surface_model.v1",
"kind": "surface",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"formula_model": {
"kind": "expression",
"expression": [
"a*x+b*y+c"
],
"parameter_ids": [
"a",
"b",
"c"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
2.999999999999926,
1.0
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"original_expression": "a*x+b*y+c",
"effective_expression": "a*x+b*y+c",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "a*x+b*y+c",
"symbol_units": {
"x": "1",
"y": "1",
"a": "1",
"b": "1",
"c": "1"
},
"symbol_scales": {
"x": 1.0,
"y": 1.0
[…]surface_model_compose
- Accesso
- registrata nel Job Python
- Argomenti
- ricetta di formula a due predittori con unità fisiche e parametri
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- dichiarazione di superficie versionata tramite il compilatore dimensionale condiviso
- Effetto
- Dichiara un modello fisico di risposta a due predittori
- Tipi
- struct
- Forma dichiarata
- data_only
- Non finiti
- error
- Regola unità
- dimensional
gxtxt_api_call("NUMERIC_API_v1", "surface_model_compose", args)Risultato registrato · surface_model_compose
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
}
]Esito, anteprima
{
"schema": "gxtxt.surface_model.v1",
"kind": "surface",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"formula_model": {
"kind": "expression",
"expression": [
"a*x+b*y+c"
],
"parameter_ids": [
"a",
"b",
"c"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"original_expression": "a*x+b*y+c",
"effective_expression": "a*x+b*y+c",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "a*x+b*y+c",
"symbol_units": {
"x": "1",
"y": "1",
"a": "1",
"b": "1",
"c": "1"
},
"symbol_scales": {
"x": 1.0,
"y": 1.0,
"a": 1.0,
[…]surface_residuals
- Accesso
- registrata nel Job Python
- Argomenti
- modello, x, y, z, layout esplicito e impostazioni di omissione/estrapolazione
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- residui fisici descrittivi, indici originali e riepilogo dell’interpretazione acquisita
- Effetto
- Valuta i residui osservati della superficie senza nuovo fit né inferenza di addestramento
- Tipi
- struct,vector,matrix,struct
- Forma dichiarata
- explicit_points_or_grid_yx
- Opzioni
- layout=points,grid_yx;nonfinite=error,omit;extrapolation=error,allow
- Non finiti
- error,omit
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "surface_residuals", args)Risultato registrato · surface_residuals
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.surface_model.v1",
"kind": "surface",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"formula_model": {
"kind": "expression",
"expression": [
"a*x+b*y+c"
],
"parameter_ids": [
"a",
"b",
"c"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
2.999999999999926,
1.0
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
[…]Esito, anteprima
{
"n": 24.0,
"sse": 1.351443962312297e-25,
"mse": 5.631016509634571e-27,
"rmse": 7.504009934451427e-14,
"mae": 6.102525892022943e-14,
"max_abs_error": 1.4832579608992091e-13,
"r2": 1.0,
"response_variance": 12.466666666666669,
"max_relative_error": 7.438494264988543e-14,
"rms_relative_error": 2.959877104113459e-14,
"relative_n": 23.0,
"relative_floor": 0.0,
"operation": "surface_residuals",
"model": {
"schema": "gxtxt.surface_model.v1",
"kind": "surface",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"formula_model": {
"kind": "expression",
"expression": [
"a*x+b*y+c"
],
"parameter_ids": [
"a",
"b",
"c"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
2.999999999999926,
1.0
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"para
[…]surface_fit
- Accesso
- registrata nel Job Python
- Argomenti
- modello, x, y, z, layout esplicito e opzioni del solutore
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- risultato del solutore condiviso, indici lineari originali, covarianza dichiarata dei parametri e ricevuta d’ingresso della superficie
- Effetto
- Adatta osservazioni di risposta puntuali o su griglia senza interpolazione
- Tipi
- struct,vector,matrix,struct
- Forma dichiarata
- explicit_points_or_grid_yx
- Opzioni
- layout=points,grid_yx;nonfinite=error,omit
- Non finiti
- error,omit
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "surface_fit", args)Risultato registrato · surface_fit
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.surface_model.v1",
"kind": "surface",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"formula_model": {
"kind": "expression",
"expression": [
"a*x+b*y+c"
],
"parameter_ids": [
"a",
"b",
"c"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0
]
[…]Esito, anteprima
{
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
2.999999999999926,
1.0
]
},
"predicted": {
"shape": [
24,
1
],
"dtype": "float64",
"values": [
-5.999999999999852,
-3.9999999999999014,
-1.9999999999999507,
0.0,
-4.399999999999881,
-2.399999999999931,
-0.39999999999998037,
1.5999999999999703,
-2.799999999999911,
-0.7999999999999603,
1.19999999999999,
3.1999999999999407
]
},
"residuals": {
"shape": [
24,
1
],
"dtype": "float64",
"values": [
-1.4832579608992091e-13,
-9.85878045867139e-14,
-4.929390229335695e-14,
0.0,
-1.1901590823981678e-13,
-6.88338275267597e-14,
-1.9761969838327786e-14,
2.9753977059954195e-14,
-8.881784197001252e-14,
-3.952393967665557e-14,
9.992007221626409e-15,
5.950795411990839e-14
]
},
"weighted_residuals": {
"shape": [
24,
1
],
"dtype": "float64",
"values": [
-1.4832579608992091e-13,
-9.85878045867139e-14,
-4.929390229335695e-14,
0.0,
-1.1901590823981678e-13,
-6.88338275267597e-14,
-1.9761969838327786e-14,
2.9753977059954195e-14,
-8.881784197001252e-14,
-3.952393967665557e-14,
9.992007221626409e-15,
5.950795411990839e-14
]
},
"objective": 1.351443962312297e-25,
"sse": 1.351443962312297e-25,
"rss": 1.351443962312297e-25,
"rmse": 8.022124057618634e-14,
"residual_rmse": 8.022124057618634e-14,
"response_rmse": 7.504009934451427e-14,
"r_squared": 1.0,
"adjusted_r_squared": 1.0,
"dof": 21.0,
"rank": 3.0,
"condition_number": 1.8330302779823362,
"scaled_condition_number": 1.0,
"covariance": {
"shape": [
3,
3
],
"dtype": "float64",
"values": [
1.4364838034782067e-28,
0.0,
0.0,
0.0,
4.826585579686776e-28,
0.0,
0.0,
0.0,
2.68143643315932e-28
]
},
"standard_errors": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.1985340226619378e-14,
2.1969491527313e-14,
1.637509216205918e-14
]
}
}surface_evaluate
- Accesso
- registrata nel Job Python
- Argomenti
- modello, coordinate fisiche Nx2, opzioni facoltative di dominio/estrapolazione/Jacobiano
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- previsioni conservate e flag espliciti del dominio, senza interpolazione né fit
- Effetto
- Valuta una superficie fisica conservata senza fit
- Tipi
- struct,matrix,struct
- Forma dichiarata
- Nx2_query_points
- Opzioni
- extrapolation=error,allow;jacobian=boolean
- Non finiti
- error
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "surface_evaluate", args)Risultato registrato · surface_evaluate
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.surface_model.v1",
"kind": "surface",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"formula_model": {
"kind": "expression",
"expression": [
"a*x+b*y+c"
],
"parameter_ids": [
"a",
"b",
"c"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
2.999999999999926,
1.0
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
[…]Esito, anteprima
{
"predicted": {
"shape": [
24,
1
],
"dtype": "float64",
"values": [
-5.999999999999852,
-4.399999999999881,
-2.799999999999911,
-1.1999999999999398,
0.4000000000000301,
2.0,
-3.9999999999999014,
-2.399999999999931,
-0.7999999999999603,
0.8000000000000105,
2.399999999999981,
3.9999999999999503
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
2.999999999999926,
1.0
]
},
"backend": "numeric_ceres_expression_vm",
"backend_version": "2.2.0",
"evaluation_only": true,
"derivative_method": "not_requested",
"adapter_dataset_copy_bytes": 0.0,
"adapter_dataset_view_bytes": 384.0,
"prediction_bytes": 192.0,
"jacobian_bytes": 0.0,
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da",
"parameter_ids": [
"a",
"b",
"c"
],
"predictor_ids": [
"x",
"y"
],
"coordinates": {
"shape": [
24,
2
],
"dtype": "float64",
"values": [
-2.0,
-1.2,
-0.3999999999999999,
0.40000000000000036,
1.2000000000000002,
2.0,
-2.0,
-1.2,
-0.3999999999999999,
0.40000000000000036,
1.2000000000000002,
2.0
]
},
"points": {
"shape": [
24,
3
],
"dtype": "float64",
"values": [
-2.0,
-1.2,
-0.3999999999999999,
0.40000000000000036,
1.2000000000000002,
2.0,
-2.0,
-1.2,
-0.3999999999999999,
0.40000000000000036,
1.2000000000000002,
2.0
]
},
"is_extrapolated": {
"shape": [
24,
1
],
"dtype": "bool",
"values": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
]
},
"coordinate_units": [
"1",
"1",
"1"
]
}surface_grid
- Accesso
- registrata nel Job Python
- Argomenti
- modello, asse x, asse y, opzioni facoltative di dominio/estrapolazione/Jacobiano
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Campioni del modello Y×X con unità e flag dei limiti; nessuna interpolazione dei dati
- Effetto
- Campiona un modello di superficie dichiarato senza interpolare i dati di origine
- Tipi
- struct,vector,vector,struct
- Forma dichiarata
- explicit_grid_axes
- Opzioni
- extrapolation=error,allow;jacobian=boolean
- Non finiti
- error
- Regola unità
- physical
gxtxt_api_call("NUMERIC_API_v1", "surface_grid", args)Risultato registrato · surface_grid
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.surface_model.v1",
"kind": "surface",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "a*x+b*y+c",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
},
{
"id": "c",
"initial": 1.0,
"unit": "1"
}
]
},
"formula_model": {
"kind": "expression",
"expression": [
"a*x+b*y+c"
],
"parameter_ids": [
"a",
"b",
"c"
],
"parameter_units": [
"1",
"1",
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
2.999999999999926,
1.0
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da",
"parameter_constraints": {
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
[…]Esito, anteprima
{
"predicted": {
"shape": [
24,
1
],
"dtype": "float64",
"values": [
-5.999999999999852,
-3.9999999999999014,
-1.9999999999999507,
0.0,
-4.399999999999881,
-2.399999999999931,
-0.39999999999998037,
1.5999999999999703,
-2.799999999999911,
-0.7999999999999603,
1.19999999999999,
3.1999999999999407
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
2.999999999999926,
1.0
]
},
"backend": "numeric_ceres_expression_vm",
"backend_version": "2.2.0",
"evaluation_only": true,
"derivative_method": "not_requested",
"adapter_dataset_copy_bytes": 0.0,
"adapter_dataset_view_bytes": 384.0,
"prediction_bytes": 192.0,
"jacobian_bytes": 0.0,
"source_sha256": "bf2611ff4c6f101b83a7302acbcac1063f64af1a2a706db541829b84a207812b",
"binding_sha256": "444dbbb41581bc0967b0584b692731d1a1bf884367e98da38877fbcecaf610da",
"parameter_ids": [
"a",
"b",
"c"
],
"predictor_ids": [
"x",
"y"
],
"coordinates": {
"shape": [
24,
2
],
"dtype": "float64",
"values": [
-2.0,
-2.0,
-2.0,
-2.0,
-1.2,
-1.2,
-1.2,
-1.2,
-0.3999999999999999,
-0.3999999999999999,
-0.3999999999999999,
-0.3999999999999999
]
},
"points": {
"shape": [
24,
3
],
"dtype": "float64",
"values": [
-2.0,
-2.0,
-2.0,
-2.0,
-1.2,
-1.2,
-1.2,
-1.2,
-0.3999999999999999,
-0.3999999999999999,
-0.3999999999999999,
-0.3999999999999999
]
},
"is_extrapolated": {
"shape": [
4,
6
],
"dtype": "bool",
"values": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
]
},
"coordinate_units": [
"1",
"1",
"1"
]
}complex_model_compose
- Accesso
- registrata nel Job Python
- Argomenti
- frequenza solo come dato, formule dei canali reale e immaginario e parametri fisici
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- dichiarazione complessa versionata tramite il compilatore dimensionale condiviso
- Effetto
- Dichiara risposte fisiche complesse condivise
- Tipi
- struct
- Forma dichiarata
- bounded_complex_formula_and_units
- Non finiti
- error
- Regola unità
- physical_channel_units
gxtxt_api_call("NUMERIC_API_v1", "complex_model_compose", args)Risultato registrato · complex_model_compose
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"predictor_id": "f",
"predictor_unit": "Hz",
"channels": [
{
"id": "z",
"unit": "Ohm",
"real_expression": "resistance",
"imaginary_expression": "2*pi*f*inductance"
}
],
"parameters": [
{
"id": "resistance",
"initial": 4.0,
"unit": "Ohm"
},
{
"id": "inductance",
"initial": 0.004,
"unit": "Ohm*s"
}
]
}
]Esito, anteprima
{
"schema": "gxtxt.complex_model.v1",
"kind": "complex_response",
"recipe": {
"predictor_id": "f",
"predictor_unit": "Hz",
"channels": [
{
"id": "z",
"unit": "Ohm",
"real_expression": "resistance",
"imaginary_expression": "2*pi*f*inductance"
}
],
"parameters": [
{
"id": "resistance",
"initial": 4.0,
"unit": "Ohm"
},
{
"id": "inductance",
"initial": 0.004,
"unit": "Ohm*s"
}
]
},
"physical_model": {
"kind": "expression",
"expression": [
"resistance",
"2*pi*f*inductance"
],
"parameter_ids": [
"resistance",
"inductance"
],
"parameter_units": [
"Ohm",
"Ohm*s"
],
"predictor_ids": [
"f"
],
"response_units": [
"Ohm",
"Ohm"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "14fbbdea81ea2af6810dc1bdbb5cac332b79129ccb01047080372d9ddba28f76",
"binding_sha256": "8bcc1eb7c78e77e70dcaa9ef6373d5c18206463bfd67149d17424ecd4c7b8cb3",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "Hz",
"required_y_unit": ""
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"expression": [
"resistance",
"2*pi*f*inductance"
],
"response_unit": [
"Ohm",
"Ohm"
],
"predictor_ids": [
"f"
],
"predictor_units": [
"Hz"
],
"parameters": [
{
"id": "resistance",
"initial": 4.0,
"unit": "Ohm"
},
{
"id": "inductance",
"initial": 0.004,
"unit": "Ohm*s"
}
]
},
"original_expression": [
"resistance",
"2*pi*f*inductance"
],
"effective_expression": [
"resistance",
"2*pi*f*inductance"
],
"dimensional_receipts": [
{
"schema": "gxtxt.expression_dimensions.v1",
"expression": "resistance",
"symbol_units": {
"f": "Hz",
"resistance": "Ohm",
"inductance": "Ohm*s"
},
"symbol_scales":
[…]complex_fit
- Accesso
- registrata nel Job Python
- Argomenti
- modello, frequenze, osservazioni complesse, contratto di covarianza, opzioni facoltative del solutore
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- parametri e covarianza condivisi e metrica cartesiana acquisita; la diagnostica di fase è separata
- Effetto
- Adatta i canali complessi usando il componente Ceres condiviso che opera nel dominio reale.
- Tipi
- struct,float64,complex128,struct
- Forma dichiarata
- finite_matched_rows_absolute_covariance
- Non finiti
- error
- Regola unità
- physical_parameters_dimensionless_objective
gxtxt_api_call("NUMERIC_API_v1", "complex_fit", args)Risultato registrato · complex_fit
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.complex_model.v1",
"kind": "complex_response",
"recipe": {
"predictor_id": "f",
"predictor_unit": "Hz",
"channels": [
{
"id": "z",
"unit": "Ohm",
"real_expression": "resistance",
"imaginary_expression": "2*pi*f*inductance"
}
],
"parameters": [
{
"id": "resistance",
"initial": 4.0,
"unit": "Ohm"
},
{
"id": "inductance",
"initial": 0.004,
"unit": "Ohm*s"
}
]
},
"physical_model": {
"kind": "expression",
"expression": [
"resistance",
"2*pi*f*inductance"
],
"parameter_ids": [
"resistance",
"inductance"
],
"parameter_units": [
"Ohm",
"Ohm*s"
],
"predictor_ids": [
"f"
],
"response_units": [
"Ohm",
"Ohm"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "14fbbdea81ea2af6810dc1bdbb5cac332b79129ccb01047080372d9ddba28f76",
"binding_sha256": "8bcc1eb7c78e77e70dcaa9ef6373d5c18206463bfd67149d17424ecd4c7b8cb3",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"
[…]Esito, anteprima
{
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.999999999999964,
0.004999999999999963
]
},
"predicted": {
"shape": [
32,
1
],
"dtype": "complex128",
"values": [
"(4.999999999999964+3.14159265358977j)",
"(4.999999999999964+4.053667940115832j)",
"(4.999999999999964+4.965743226641894j)",
"(4.999999999999964+5.877818513167957j)",
"(4.999999999999964+6.789893799694018j)",
"(4.999999999999964+7.701969086220081j)",
"(4.999999999999964+8.614044372746143j)",
"(4.999999999999964+9.526119659272206j)",
"(4.999999999999964+10.438194945798267j)",
"(4.999999999999964+11.350270232324329j)",
"(4.999999999999964+12.26234551885039j)",
"(4.999999999999964+13.174420805376455j)"
]
},
"residuals": {
"shape": [
32,
1
],
"dtype": "complex128",
"values": [
"(3.6415315207705135e-14+2.3092638912203256e-14j)",
"(3.6415315207705135e-14+3.019806626980426e-14j)",
"(3.6415315207705135e-14+3.730349362740526e-14j)",
"(3.6415315207705135e-14+4.440892098500626e-14j)",
"(3.6415315207705135e-14+5.062616992290714e-14j)",
"(3.6415315207705135e-14+5.684341886080802e-14j)",
"(3.6415315207705135e-14+6.394884621840902e-14j)",
"(3.6415315207705135e-14+7.105427357601002e-14j)",
"(3.6415315207705135e-14+7.815970093361102e-14j)",
"(3.6415315207705135e-14+8.348877145181177e-14j)",
"(3.6415315207705135e-14+9.237055564881302e-14j)",
"(3.6415315207705135e-14+9.947598300641403e-14j)"
]
},
"weighted_residuals": {
"shape": [
32,
2
],
"dtype": "float64",
"values": [
3.623767952376511e-13,
3.623767952376511e-13,
3.623767952376511e-13,
3.623767952376511e-13,
3.623767952376511e-13,
3.623767952376511e-13,
3.623767952376511e-13,
3.623767952376511e-13,
3.623767952376511e-13,
3.623767952376511e-13,
3.623767952376511e-13,
3.623767952376511e-13
]
},
"objective": 6.997099041646851e-23,
"sse": 6.997099041646851e-23,
"rss": 6.997099041646851e-23,
"rmse": 1.0623390991373441e-12,
"residual_rmse": NaN,
"response_rmse": 1.0456083039347577e-12,
"r_squared": NaN,
"adjusted_r_squared": NaN,
"dof": 62.0,
"rank": 2.0,
"condition_number": 3844.338259673896,
"scaled_condition_number": 1.0000000000000002,
"covariance": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
0.0003125000000000001,
0.0,
0.0,
2.114495834845211e-11
]
},
"standard_errors": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.01767766952966369,
4.59836474721744e-06
]
}
}Esito del controllo negativo o del tentativo · complex_fit
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.complex_model.v1",
"kind": "complex_response",
"recipe": {
"predictor_id": "f",
"predictor_unit": "Hz",
"channels": [
{
"id": "z",
"unit": "Ohm",
"real_expression": "resistance",
"imaginary_expression": "2*pi*f*inductance"
}
],
"parameters": [
{
"id": "resistance",
"initial": 4.0,
"unit": "Ohm"
},
{
"id": "inductance",
"initial": 0.004,
"unit": "Ohm*s"
}
]
},
"physical_model": {
"kind": "expression",
"expression": [
"resistance",
"2*pi*f*inductance"
],
"parameter_ids": [
"resistance",
"inductance"
],
"parameter_units": [
"Ohm",
"Ohm*s"
],
"predictor_ids": [
"f"
],
"response_units": [
"Ohm",
"Ohm"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "14fbbdea81ea2af6810dc1bdbb5cac332b79129ccb01047080372d9ddba28f76",
"binding_sha256": "8bcc1eb7c78e77e70dcaa9ef6373d5c18206463bfd67149d17424ecd4c7b8cb3",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"
[…]Esito, anteprima
"GXTXT:Numeric:Complex: Unknown field or invalid complex covariance"
complex_evaluate
- Accesso
- registrata nel Job Python
- Argomenti
- modello, frequenze, richiesta facoltativa di derivate o Jacobiano
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Canali complessi, modulo, fase principale e derivate delle componenti reali, senza fit.
- Effetto
- Valuta la risposta complessa conservata e le derivate delle componenti reali
- Tipi
- struct,float64
- Forma dichiarata
- positive_frequency_rows
- Non finiti
- error
- Regola unità
- physical_channel_units
gxtxt_api_call("NUMERIC_API_v1", "complex_evaluate", args)Risultato registrato · complex_evaluate
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.complex_model.v1",
"kind": "complex_response",
"recipe": {
"predictor_id": "f",
"predictor_unit": "Hz",
"channels": [
{
"id": "z",
"unit": "Ohm",
"real_expression": "resistance",
"imaginary_expression": "2*pi*f*inductance"
}
],
"parameters": [
{
"id": "resistance",
"initial": 4.0,
"unit": "Ohm"
},
{
"id": "inductance",
"initial": 0.004,
"unit": "Ohm*s"
}
]
},
"physical_model": {
"kind": "expression",
"expression": [
"resistance",
"2*pi*f*inductance"
],
"parameter_ids": [
"resistance",
"inductance"
],
"parameter_units": [
"Ohm",
"Ohm*s"
],
"predictor_ids": [
"f"
],
"response_units": [
"Ohm",
"Ohm"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.999999999999964,
0.004999999999999963
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "14fbbdea81ea2af6810dc1bdbb5cac332b79129ccb01047080372d9ddba28f76",
"binding_sha256": "8bcc1eb7c78e77e70dcaa9ef6373d5c18206463bfd67149d17424ecd4c7b8cb3",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"in
[…]Esito, anteprima
{
"predicted": {
"shape": [
32,
1
],
"dtype": "complex128",
"values": [
"(4.999999999999964+3.14159265358977j)",
"(4.999999999999964+4.053667940115832j)",
"(4.999999999999964+4.965743226641894j)",
"(4.999999999999964+5.877818513167957j)",
"(4.999999999999964+6.789893799694018j)",
"(4.999999999999964+7.701969086220081j)",
"(4.999999999999964+8.614044372746143j)",
"(4.999999999999964+9.526119659272206j)",
"(4.999999999999964+10.438194945798267j)",
"(4.999999999999964+11.350270232324329j)",
"(4.999999999999964+12.26234551885039j)",
"(4.999999999999964+13.174420805376455j)"
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.999999999999964,
0.004999999999999963
]
},
"backend": "numeric_ceres_expression_vm",
"backend_version": "2.2.0",
"evaluation_only": true,
"derivative_method": "not_requested",
"adapter_dataset_copy_bytes": 0.0,
"adapter_dataset_view_bytes": 256.0,
"prediction_bytes": 512.0,
"jacobian_bytes": 0.0,
"source_sha256": "14fbbdea81ea2af6810dc1bdbb5cac332b79129ccb01047080372d9ddba28f76",
"binding_sha256": "8bcc1eb7c78e77e70dcaa9ef6373d5c18206463bfd67149d17424ecd4c7b8cb3",
"parameter_ids": [
"resistance",
"inductance"
],
"predictor_ids": [
"f"
],
"component_values": {
"shape": [
32,
2
],
"dtype": "float64",
"values": [
4.999999999999964,
4.999999999999964,
4.999999999999964,
4.999999999999964,
4.999999999999964,
4.999999999999964,
4.999999999999964,
4.999999999999964,
4.999999999999964,
4.999999999999964,
4.999999999999964,
4.999999999999964
]
},
"magnitude": {
"shape": [
32,
1
],
"dtype": "float64",
"values": [
5.90504906000694,
6.436786758058913,
7.046886248048814,
7.716783687116,
8.432239193187234,
9.182610075849318,
9.960008054998708,
10.75857591704274,
11.573932509155568,
12.402767205216238,
13.24254951373299,
14.091322278520765
]
},
"phase_radians": {
"shape": [
32,
1
],
"dtype": "float64",
"values": [
0.5609821161086237,
0.6812516311978887,
0.7819607239959905,
0.8659217004784157,
0.9360636157617249,
0.994994510429509,
1.0448777886879883,
1.0874491366975807,
1.1240812600999524,
1.1558554315369327,
1.1836248198372077,
1.2080659103458022
]
},
"phase_valid": {
"shape": [
32,
1
],
"dtype": "bool",
"values": [
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true
]
}
}complex_residuals
- Accesso
- registrata nel Job Python
- Argomenti
- modello, frequenze, osservazioni, covarianza cartesiana assoluta
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- residui fisici e diagnostica sbiancata limitata, senza fit né inferenza sui parametri
- Effetto
- Valuta i residui complessi acquisiti senza eseguire il fit né inferire i parametri.
- Tipi
- struct,float64,complex128,struct
- Forma dichiarata
- finite_matched_rows_absolute_covariance
- Non finiti
- error
- Regola unità
- physical_channels_dimensionless_objective
gxtxt_api_call("NUMERIC_API_v1", "complex_residuals", args)Risultato registrato · complex_residuals
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.complex_model.v1",
"kind": "complex_response",
"recipe": {
"predictor_id": "f",
"predictor_unit": "Hz",
"channels": [
{
"id": "z",
"unit": "Ohm",
"real_expression": "resistance",
"imaginary_expression": "2*pi*f*inductance"
}
],
"parameters": [
{
"id": "resistance",
"initial": 4.0,
"unit": "Ohm"
},
{
"id": "inductance",
"initial": 0.004,
"unit": "Ohm*s"
}
]
},
"physical_model": {
"kind": "expression",
"expression": [
"resistance",
"2*pi*f*inductance"
],
"parameter_ids": [
"resistance",
"inductance"
],
"parameter_units": [
"Ohm",
"Ohm*s"
],
"predictor_ids": [
"f"
],
"response_units": [
"Ohm",
"Ohm"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.999999999999964,
0.004999999999999963
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "14fbbdea81ea2af6810dc1bdbb5cac332b79129ccb01047080372d9ddba28f76",
"binding_sha256": "8bcc1eb7c78e77e70dcaa9ef6373d5c18206463bfd67149d17424ecd4c7b8cb3",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"in
[…]Esito, anteprima
{
"operation": "complex_residuals",
"model": {
"schema": "gxtxt.complex_model.v1",
"kind": "complex_response",
"recipe": {
"predictor_id": "f",
"predictor_unit": "Hz",
"channels": [
{
"id": "z",
"unit": "Ohm",
"real_expression": "resistance",
"imaginary_expression": "2*pi*f*inductance"
}
],
"parameters": [
{
"id": "resistance",
"initial": 4.0,
"unit": "Ohm"
},
{
"id": "inductance",
"initial": 0.004,
"unit": "Ohm*s"
}
]
},
"physical_model": {
"kind": "expression",
"expression": [
"resistance",
"2*pi*f*inductance"
],
"parameter_ids": [
"resistance",
"inductance"
],
"parameter_units": [
"Ohm",
"Ohm*s"
],
"predictor_ids": [
"f"
],
"response_units": [
"Ohm",
"Ohm"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.999999999999964,
0.004999999999999963
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "14fbbdea81ea2af6810dc1bdbb5cac332b79129ccb01047080372d9ddba28f76",
"binding_sha256": "8bcc1eb7c78e77e70dcaa9ef6373d5c18206463bfd67149d17424ecd4c7b8cb3",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "Hz",
"required_y_unit": ""
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"expression": [
"resistance",
"2*pi*f*inductance"
],
"response_unit": [
"Ohm",
"Ohm"
],
"predictor_ids": [
"f"
],
"predictor_units": [
"Hz"
],
"parameters": [
{
"id": "resistance",
"initial": 4.0,
"unit": "Ohm"
},
{
"id": "inductance",
"initial": 0.004,
"unit": "Ohm*s"
}
]
},
"original_expression": [
"resistance",
"2*pi*f*inductanc
[…]Esito del controllo negativo o del tentativo · complex_residuals
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.complex_model.v1",
"kind": "complex_response",
"recipe": {
"predictor_id": "f",
"predictor_unit": "Hz",
"channels": [
{
"id": "z",
"unit": "Ohm",
"real_expression": "resistance",
"imaginary_expression": "2*pi*f*inductance"
}
],
"parameters": [
{
"id": "resistance",
"initial": 4.0,
"unit": "Ohm"
},
{
"id": "inductance",
"initial": 0.004,
"unit": "Ohm*s"
}
]
},
"physical_model": {
"kind": "expression",
"expression": [
"resistance",
"2*pi*f*inductance"
],
"parameter_ids": [
"resistance",
"inductance"
],
"parameter_units": [
"Ohm",
"Ohm*s"
],
"predictor_ids": [
"f"
],
"response_units": [
"Ohm",
"Ohm"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "14fbbdea81ea2af6810dc1bdbb5cac332b79129ccb01047080372d9ddba28f76",
"binding_sha256": "8bcc1eb7c78e77e70dcaa9ef6373d5c18206463bfd67149d17424ecd4c7b8cb3",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
4.0,
0.004
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"
[…]Esito, anteprima
"GXTXT:Numeric:Complex: Unknown field or invalid complex covariance"
complex_from_polar
- Accesso
- registrata nel Job Python
- Argomenti
- modulo, fase, opzioni esplicite di unità/scala/riferimento
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- valori complessi e provenienza della conversione; nessuna approssimazione della covarianza
- Effetto
- Converte ampiezza e fase lineari o db20 senza ipotesi sulla covarianza
- Tipi
- float64,float64,struct
- Forma dichiarata
- finite_matched_arrays
- Non finiti
- error
- Regola unità
- explicit_phase_amplitude_units
gxtxt_api_call("NUMERIC_API_v1", "complex_from_polar", args)Risultato registrato · complex_from_polar
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
[
1.0,
2.0
],
[
0.0,
90.0
],
{
"phase_unit": "deg",
"magnitude_scale": "linear",
"channel_units": [
"Ohm"
]
}
]Esito, anteprima
{
"schema": "gxtxt.complex_observations.v1",
"values": {
"shape": [
2,
1
],
"dtype": "complex128",
"values": [
"(1+0j)",
"(1.2246467991473532e-16+2j)"
]
},
"options": {
"phase_unit": "deg",
"magnitude_scale": "linear",
"channel_units": [
"Ohm"
]
},
"magnitude_sha256": "e114f8dd33869973a58582cb37bd59f5ac488219b7d0d7311d6f084754518029",
"phase_sha256": "4f116794655206f29ba7e58907480fe2df26aae4f73dc503f56fc58c4629168c",
"conversion": "physical_amplitude_times_exp_i_phase",
"covariance_conversion": "none_cartesian_covariance_required",
"phase_valid": {
"shape": [
2,
1
],
"dtype": "bool",
"values": [
true,
true
]
}
}Esito del controllo negativo o del tentativo · complex_from_polar
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
[
1.0,
2.0
],
[
0.0,
90.0
],
{
"phase_unit": "deg",
"magnitude_scale": "linear"
}
]Esito, anteprima
"GXTXT:Numeric:Complex: Declare phase units, magnitude scale and physical channel units"
implicit_model_compose
- Accesso
- registrata nel Job Python
- Argomenti
- formula a due coordinate solo sui dati, modalità del residuo e normalizzazione esplicita di riferimento
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- modello implicito versionato con unità e limiti CORE
- Effetto
- Dichiara un’equazione implicita con semantica esplicita del residuo e normalizzazione fisica
- Tipi
- struct
- Forma dichiarata
- bounded_two_coordinate_formula
- Non finiti
- error
- Regola unità
- CORE_formula_units
gxtxt_api_call("NUMERIC_API_v1", "implicit_model_compose", args)Risultato registrato · implicit_model_compose
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"formula": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "y-a*x",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
}
]
},
"residual_mode": "algebraic"
}
]Esito, anteprima
{
"schema": "gxtxt.implicit_model.v1",
"kind": "implicit",
"recipe": {
"formula": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "y-a*x",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
}
]
},
"residual_mode": "algebraic"
},
"equation_model": {
"kind": "expression",
"expression": [
"y-a*x"
],
"parameter_ids": [
"a"
],
"parameter_units": [
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": 1.0,
"parameters": 1.0,
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "2de146ff8e1735748f4b6c56c598f1b08ea0405449fc8468aa8e560be549d197",
"binding_sha256": "a443fa556288d606b94c2951d67197638ccff1755d67b68db522abb203e4f5f7",
"parameter_constraints": {
"initial_parameters": 1.0,
"lower_bounds": -Infinity,
"upper_bounds": Infinity,
"fixed_mask": 0.0
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "y-a*x",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
}
]
},
"original_expression": "y-a*x",
"effective_expression": "y-a*x",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "y-a*x",
"symbol_units": {
"x": "1",
"y": "1",
"a": "1"
},
"symbol_scales": {
"x": 1.0,
"y": 1.0,
"a": 1.0
},
"inferred_parameter_ids": [],
"used_symbols": [
"a",
"x",
"y"
],
"output_unit": "1",
"output_scale": 1.0,
"dimensions": {},
"dimension_label": "1",
"normalization": "explicit_symbol_to_canonical_then_output_scale",
"variable_exponent_policy": "dimensionless_base_and_exponent",
"constraint_count": 2.0
},
"derivative_policy": "existing_native_expression_vm_analytic_with_explicit_nonsmooth_domains",
"unit_policy": "physical_parameter_units_with_explicit_internal_SI_conversion",
"source_expression_sha256": "2de146ff8e1735748f4b6c56c598f1b08ea0405449fc8468aa8e560be549d197"
}
},
"parameter_ids": [
"a"
],
"parameter_units": [
"1"
],
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"parameters": 1.0,
"initial_parameters": 1.0,
"residual_mode": "algebraic",
"normalization": {
"value": 1.0,
"unit": "1",
"role": "reference_scale"
},
"residual_unit": "1",
"objective_unit_rule": "square_residual_unit",
"declaration_sha256": "dc5612fe11049af4f3fbe82c7fc5de609a662feaa35fec8d3a1b1c17e836b8a3",
"fit_geometry": "implicit_algebraic",
"residual_definition": "zero_minus_equation_value_at_observed_coordi
[…]implicit_fit
- Accesso
- registrata nel Job Python
- Argomenti
- modello implicito, prima e seconda coordinata, policy facoltativa del solutore
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- parametri fisici e covarianza e fatti espliciti sul residuo dell’equazione; nessuna distanza ODR né curva di risposta dedotta
- Effetto
- Adatta residui impliciti algebrici senza dichiarare distanze ODR né un ramo di risposta
- Tipi
- struct,vector,vector
- Forma dichiarata
- matched_original_observations
- Opzioni
- solver=auto,ceres;max_iterations=positive_integer;max_seconds=positive_number;loss=linear,huber,cauchy,soft_l1,arctan,tukey
- Non finiti
- error
- Regola unità
- declared_equation_and_parameter_units
gxtxt_api_call("NUMERIC_API_v1", "implicit_fit", args)Risultato registrato · implicit_fit
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.implicit_model.v1",
"kind": "implicit",
"recipe": {
"formula": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "y-a*x",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
}
]
},
"residual_mode": "algebraic"
},
"equation_model": {
"kind": "expression",
"expression": [
"y-a*x"
],
"parameter_ids": [
"a"
],
"parameter_units": [
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": 1.0,
"parameters": 1.0,
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "2de146ff8e1735748f4b6c56c598f1b08ea0405449fc8468aa8e560be549d197",
"binding_sha256": "a443fa556288d606b94c2951d67197638ccff1755d67b68db522abb203e4f5f7",
"parameter_constraints": {
"initial_parameters": 1.0,
"lower_bounds": -Infinity,
"upper_bounds": Infinity,
"fixed_mask": 0.0
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "y-a*x",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
}
]
},
"original_expression": "y-a*x",
"effective_expression": "y-a*x",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "y-a*x",
"symbol_units": {
"x": "1",
"y": "1",
"a": "1"
},
"symbol_scales": {
"x": 1.0,
"y": 1.0,
"a": 1.0
},
"inferred_parameter_ids": [],
"used_symbols": [
"a",
"x",
"y"
],
[…]Esito, anteprima
{
"parameters": 1.999999999999963,
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
1.8540724511240114e-14,
2.2870594307278225e-14,
2.708944180085382e-14,
3.1308289294429414e-14,
3.574918139293004e-14,
3.9968028886505635e-14,
4.440892098500626e-14,
4.8405723873656825e-14,
5.284661597215745e-14,
5.684341886080802e-14,
6.128431095930864e-14,
6.572520305780927e-14
]
},
"residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-1.8540724511240114e-14,
-2.2870594307278225e-14,
-2.708944180085382e-14,
-3.1308289294429414e-14,
-3.574918139293004e-14,
-3.9968028886505635e-14,
-4.440892098500626e-14,
-4.8405723873656825e-14,
-5.284661597215745e-14,
-5.684341886080802e-14,
-6.128431095930864e-14,
-6.572520305780927e-14
]
},
"weighted_residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-1.8540724511240114e-14,
-2.2870594307278225e-14,
-2.708944180085382e-14,
-3.1308289294429414e-14,
-3.574918139293004e-14,
-3.9968028886505635e-14,
-4.440892098500626e-14,
-4.8405723873656825e-14,
-5.284661597215745e-14,
-5.684341886080802e-14,
-6.128431095930864e-14,
-6.572520305780927e-14
]
},
"objective": 5.135947578992055e-25,
"sse": 5.135947578992055e-25,
"rss": 5.135947578992055e-25,
"rmse": 1.147566832754846e-13,
"residual_rmse": 1.147566832754846e-13,
"response_rmse": 1.1331314551930917e-13,
"r_squared": NaN,
"adjusted_r_squared": NaN,
"dof": 39.0,
"rank": 1.0,
"condition_number": 1.0,
"scaled_condition_number": 1.0,
"covariance": 3.5262255949138716e-29,
"standard_errors": 5.938203090930683e-15
}implicit_evaluate
- Accesso
- registrata nel Job Python
- Argomenti
- modello implicito, prima e seconda coordinata, richiesta facoltativa del Jacobiano
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Valori dell’equazione, residui e normalizzazione fisica dichiarata, senza fit.
- Effetto
- Valuta un’equazione implicita conservata senza eseguire il fit.
- Tipi
- struct,vector,vector
- Forma dichiarata
- matched_observed_coordinates
- Opzioni
- jacobian=boolean
- Non finiti
- error
- Regola unità
- declared_equation_unit
gxtxt_api_call("NUMERIC_API_v1", "implicit_evaluate", args)Risultato registrato · implicit_evaluate
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.implicit_model.v1",
"kind": "implicit",
"recipe": {
"formula": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "y-a*x",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
}
]
},
"residual_mode": "algebraic"
},
"equation_model": {
"kind": "expression",
"expression": [
"y-a*x"
],
"parameter_ids": [
"a"
],
"parameter_units": [
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": 1.0,
"parameters": 1.999999999999963,
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "2de146ff8e1735748f4b6c56c598f1b08ea0405449fc8468aa8e560be549d197",
"binding_sha256": "a443fa556288d606b94c2951d67197638ccff1755d67b68db522abb203e4f5f7",
"parameter_constraints": {
"initial_parameters": 1.0,
"lower_bounds": -Infinity,
"upper_bounds": Infinity,
"fixed_mask": 0.0
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "y-a*x",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
}
]
},
"original_expression": "y-a*x",
"effective_expression": "y-a*x",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "y-a*x",
"symbol_units": {
"x": "1",
"y": "1",
"a": "1"
},
"symbol_scales": {
"x": 1.0,
"y": 1.0,
"a": 1.0
},
"inferred_parameter_ids": [],
"used_symbols": [
"a",
"x",
"y
[…]Esito, anteprima
{
"parameters": 1.999999999999963,
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
1.8540724511240114e-14,
2.2870594307278225e-14,
2.708944180085382e-14,
3.1308289294429414e-14,
3.574918139293004e-14,
3.9968028886505635e-14,
4.440892098500626e-14,
4.8405723873656825e-14,
5.284661597215745e-14,
5.684341886080802e-14,
6.128431095930864e-14,
6.572520305780927e-14
]
},
"jacobian": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.5,
-0.6153846153846154,
-0.7307692307692308,
-0.8461538461538461,
-0.9615384615384616,
-1.076923076923077,
-1.1923076923076923,
-1.3076923076923077,
-1.4230769230769231,
-1.5384615384615385,
-1.653846153846154,
-1.7692307692307694
]
},
"converged": false,
"termination": "EVALUATED",
"solver_message": "ceres::Solve was not called.",
"iterations": 0.0,
"function_evaluations": -1.0,
"jacobian_evaluations": -1.0,
"solver_seconds": -1.0,
"solver_objective": NaN,
"solver": "ceres",
"backend_version": "2.2.0",
"derivative_method": "automatic_differentiation",
"parameter_scales": 1.0,
"free_parameter_count": 1.0,
"threads_used": 1.0,
"adapter_dataset_copy_bytes": 0.0
}implicit_query
- Accesso
- registrata nel Job Python
- Argomenti
- modello implicito, interrogazioni indipendenti e dichiarazione del ramo
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- radici locali verificate, rapporto fra derivate parziali e stato esplicito di indisponibilità/unicità
- Effetto
- Interroga un ramo continuo dichiarato dal chiamante tramite la ricerca pubblica delle radici
- Tipi
- struct,vector,struct
- Forma dichiarata
- one_to_64_independent_queries
- Non finiti
- error
- Regola unità
- declared_coordinate_units
gxtxt_api_call("NUMERIC_API_v1", "implicit_query", args)Risultato registrato · implicit_query
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.implicit_model.v1",
"kind": "implicit",
"recipe": {
"formula": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "y-a*x",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
}
]
},
"residual_mode": "algebraic"
},
"equation_model": {
"kind": "expression",
"expression": [
"y-a*x"
],
"parameter_ids": [
"a"
],
"parameter_units": [
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": 1.0,
"parameters": 1.999999999999963,
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "2de146ff8e1735748f4b6c56c598f1b08ea0405449fc8468aa8e560be549d197",
"binding_sha256": "a443fa556288d606b94c2951d67197638ccff1755d67b68db522abb203e4f5f7",
"parameter_constraints": {
"initial_parameters": 1.0,
"lower_bounds": -Infinity,
"upper_bounds": Infinity,
"fixed_mask": 0.0
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "y-a*x",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
}
]
},
"original_expression": "y-a*x",
"effective_expression": "y-a*x",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "y-a*x",
"symbol_units": {
"x": "1",
"y": "1",
"a": "1"
},
"symbol_scales": {
"x": 1.0,
"y": 1.0,
"a": 1.0
},
"inferred_parameter_ids": [],
"used_symbols": [
"a",
"x",
"y
[…]Esito, anteprima
{
"schema": "gxtxt.implicit_branch_result.v1",
"queries": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
2.0
]
},
"predicted": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
3.999999999999926
]
},
"points": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
1.0,
2.0,
1.999999999999963,
3.999999999999926
]
},
"valid": {
"shape": [
2,
1
],
"dtype": "bool",
"values": [
true,
true
]
},
"equation_values": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
},
"derivative": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.999999999999963,
1.999999999999963
]
},
"derivative_valid": {
"shape": [
2,
1
],
"dtype": "bool",
"values": [
true,
true
]
},
"response_index": 2.0,
"query_unit": "1",
"response_unit": "1",
"residual_unit": "1",
"iterations": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
1.0
]
},
"function_evaluations": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
3.0,
3.0
]
},
"reasons": [
"Local bracket root verified against the response tolerance; global uniqueness is not certified.",
"Local bracket root verified against the response tolerance; global uniqueness is not certified."
],
"bracket": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
12.0
]
},
"independent_domain": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.5,
5.0
]
},
"is_extrapolated": {
"shape": [
2,
1
],
"dtype": "bool",
"values": [
false,
false
]
}
}Esito del controllo negativo o del tentativo · implicit_query
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"schema": "gxtxt.implicit_model.v1",
"kind": "implicit",
"recipe": {
"formula": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "y-a*x",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
}
]
},
"residual_mode": "algebraic"
},
"equation_model": {
"kind": "expression",
"expression": [
"y-a*x"
],
"parameter_ids": [
"a"
],
"parameter_units": [
"1"
],
"predictor_ids": [
"x",
"y"
],
"response_units": [
"1"
],
"initial_parameters": 1.0,
"parameters": 1.999999999999963,
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "2de146ff8e1735748f4b6c56c598f1b08ea0405449fc8468aa8e560be549d197",
"binding_sha256": "a443fa556288d606b94c2951d67197638ccff1755d67b68db522abb203e4f5f7",
"parameter_constraints": {
"initial_parameters": 1.0,
"lower_bounds": -Infinity,
"upper_bounds": Infinity,
"fixed_mask": 0.0
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"predictor_ids": [
"x",
"y"
],
"predictor_units": [
"1",
"1"
],
"response_unit": "1",
"expression": "y-a*x",
"parameters": [
{
"id": "a",
"initial": 1.0,
"unit": "1"
}
]
},
"original_expression": "y-a*x",
"effective_expression": "y-a*x",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "y-a*x",
"symbol_units": {
"x": "1",
"y": "1",
"a": "1"
},
"symbol_scales": {
"x": 1.0,
"y": 1.0,
"a": 1.0
},
"inferred_parameter_ids": [],
"used_symbols": [
"a",
"x",
"y
[…]Esito, anteprima
"GXTXT:Numeric:Implicit: Unknown implicit branch field: domain"
fit_formula_compose
- Accesso
- registrata nel Job Python
- Argomenti
- formula solo sui dati, unità dei predittori e ricetta dei parametri nominati
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- modello di espressione congelato per il solutore Numeric esistente, con unità fisiche e vincoli dei parametri
- Effetto
- Dichiara una formula sicura con l’inferenza delle unità CORE condivisa
- Tipi
- struct
- Forma dichiarata
- bounded_formula_and_units
- Non finiti
- error
- Regola unità
- explicit_internal_conversion_physical_parameters
gxtxt_api_call("NUMERIC_API_v1", "fit_formula_compose", args)Risultato registrato · fit_formula_compose
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"expression": "a*x+b",
"predictor_ids": [
"x"
],
"predictor_units": [
"1"
],
"response_unit": "1",
"parameters": [
{
"id": "a",
"unit": "1",
"initial": 1.0,
"lower": -100.0,
"upper": 100.0
},
{
"id": "b",
"unit": "1",
"initial": 0.25,
"lower": -100.0,
"upper": 100.0
}
]
}
]Esito, anteprima
{
"kind": "expression",
"expression": [
"a*x+b"
],
"parameter_ids": [
"a",
"b"
],
"parameter_units": [
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
0.25
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
0.25
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "b9a68d125273d2307d90c95175d7c74497835878c6f2e330a4823f555dec9dc5",
"binding_sha256": "91ac60511ddacd6749eae8c7f09449a6e458f7db4291f25f06ca6a4a2b551f4f",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
0.25
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-100.0,
-100.0
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
100.0,
100.0
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "1",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"expression": "a*x+b",
"predictor_ids": [
"x"
],
"predictor_units": [
"1"
],
"response_unit": "1",
"parameters": [
{
"id": "a",
"unit": "1",
"initial": 1.0,
"lower": -100.0,
"upper": 100.0
},
{
"id": "b",
"unit": "1",
"initial": 0.25,
"lower": -100.0,
"upper": 100.0
}
]
},
"original_expression": "a*x+b",
"effective_expression": "a*x+b",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "a*x+b",
"symbol_units": {
"x": "1",
"a": "1",
"b": "1"
},
"symbol_scales": {
"x": 1.0,
"a": 1.0,
"b": 1.0
},
"inferred_parameter_ids": [],
"used_symbols": [
"a",
"b",
"x"
],
"output_unit": "1",
"output_scale": 1.0,
"dimensions": {},
"dimension_label": "1",
"normalization": "explicit_symbol_to_canonical_then_output_scale",
"variable_exponent_policy": "dimensionless_base_and_exponent",
"constraint_count": 2.0
},
"derivative_policy": "existing_native_expression_vm_analytic_with_explicit_nonsmooth_domains",
"unit_policy": "physical_parameter_units_with_explicit_internal_SI_conversion",
"source_expression_sha256": "b9a68d125273d2307d90c95175d7c74497835878c6f2e330a4823f555dec9dc5"
}
}fit_model_compose
- Accesso
- registrata nel Job Python
- Argomenti
- ricetta con componenti, x_unit, y_unit e sostituzioni facoltative dei parametri
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- modello di espressione dichiarato e vincoli acquisiti
- Effetto
- Compone descrittori congelati di picco e linea di base con condivisione dei parametri e vincoli
- Tipi
- struct
- Forma dichiarata
- bounded_component_recipe
- Non finiti
- error
- Regola unità
- explicit_axis_units_and_parameter_relationships
gxtxt_api_call("NUMERIC_API_v1", "fit_model_compose", args)Risultato registrato · fit_model_compose
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"x_unit": "s",
"y_unit": "V",
"components": [
{
"id": "peak",
"model_id": "peak.lorentzian_height_v1",
"initial_parameters": [
2.0,
1.0,
0.7
]
},
{
"id": "background",
"model_id": "baseline.linear_v1",
"initial_parameters": [
0.2,
0.03
]
}
]
}
]Esito, anteprima
{
"kind": "expression",
"expression": [
"(peak_height/(1+((x-peak_center)/peak_hwhm)^2))+(background_intercept+background_slope*x)"
],
"parameter_ids": [
"peak_height",
"peak_center",
"peak_hwhm",
"background_intercept",
"background_slope"
],
"predictor_ids": [
"x"
],
"parameter_units": [
"V",
"s",
"s",
"V",
"V/(s)"
],
"initial_parameters": {
"shape": [
5,
1
],
"dtype": "float64",
"values": [
2.0,
1.0,
0.7,
0.2,
0.03
]
},
"parameters": {
"shape": [
5,
1
],
"dtype": "float64",
"values": [
2.0,
1.0,
0.7,
0.2,
0.03
]
},
"parameter_constraints": {
"initial_parameters": {
"shape": [
5,
1
],
"dtype": "float64",
"values": [
2.0,
1.0,
0.7,
0.2,
0.03
]
},
"lower_bounds": {
"shape": [
5,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
2.2250738585072014e-308,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
5,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
5,
1
],
"dtype": "float64",
"values": [
0.0,
0.0,
0.0,
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"required_x_unit": "",
"required_y_unit": "",
"translation_policy": "allowed"
},
"composition": {
"schema": "gxtxt.fit_composition.v1",
"recipe": {
"x_unit": "s",
"y_unit": "V",
"components": [
{
"id": "peak",
"model_id": "peak.lorentzian_height_v1",
"initial_parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
1.0,
0.7
]
},
"bindings": {
"height": "peak_height",
"center": "peak_center",
"hwhm": "peak_hwhm"
}
},
{
"id": "background",
"model_id": "baseline.linear_v1",
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.2,
0.03
]
},
"bindings": {
"intercept": "background_intercept",
"slope": "background_slope"
}
}
],
"parameters": {}
},
"cards": [
{
"id": "peak.lorentzian_height_v1",
"version": "1.0.0",
"name": "Lorentzian peak (height, HWHM)",
"description": "Peak height is not integrated area. FWHM = 2*hwhm and integrated area = pi*height*hwhm.",
"descriptor_sha256": "b54ffa22076b38fd1cb516fc9eb36b9bf0e51be2a78e639deb9c49c2319b9f04",
"expression": "height/(1+((x-center)/hwhm)^2)",
"parameter_ids": [
"height",
"center",
"hwhm"
],
"parameter_units": [
"Y",
"X",
"X"
],
"parameter_meanings": [
"Peak height abo
[…]local_cloud_fit
- Accesso
- registrata nel Job Python
- Argomenti
- x, y, interrogazione nel dominio, opzioni vuote facoltative
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Stima per interrogazione, dispersione e fatti sul denominatore effettivo
- Effetto
- Stima locale deterministica, quadratica o costante, sulla nuvola di punti, con denominatore effettivo della varianza esplicito.
- Tipi
- vector
- Forma dichiarata
- matched_source_vectors_and_queries
- Non finiti
- error
- Regola unità
- caller_owned
- Funzione d’espressione
- local_cloud_fit
gxtxt_api_call("NUMERIC_API_v1", "local_cloud_fit", args)Risultato registrato · local_cloud_fit
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
40
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
{
"shape": [
40
],
"dtype": "float64",
"values": [
3.502397127693021,
3.8490402092700293,
4.195644905551329,
4.542205220750953,
4.888715749300064,
5.235171747734771,
5.581569197778721,
5.927904859781541,
6.274176315802433,
6.620382001766006,
6.966521228262664,
7.312594189716963
]
},
[
1.0,
2.0,
3.0
]
]Esito, anteprima
{
"query": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
1.0,
2.0,
3.0
]
},
"local_mean": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
5.004207028776217,
8.004545891097187,
11.000705682555926
]
},
"local_sigma": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
6.516740908900115e-06,
6.160429283847181e-06,
1.1923091162658732e-05
]
},
"local_effective_n": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
6.58767399082087,
7.065956617252248,
6.587673990820867
]
},
"local_dof": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
3.5876739908208704,
4.065956617252248,
3.587673990820867
]
},
"local_count": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
10.0,
10.0,
10.0
]
},
"local_degree": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
2.0,
2.0,
2.0
]
},
"quadratic_condition": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
22.030367475370944,
19.065366005267965,
22.030367475370973
]
},
"method": "nearest_tricube_quadratic_or_constant",
"variance_correction": "kish_effective_n_minus_parameters",
"insufficient_policy": "undefined_without_positive_variance_denominator"
}fit_profile
- Accesso
- registrata nel Job Python
- Argomenti
- modello dichiarato adattato, predittori/risposta esatti, piano CORE, pesi originali
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- registro tipizzato dei tentativi e ricevuta del profilo limitato
- Effetto
- Verosimiglianza gaussiana profilata con vincoli, calcolata mediante i rifit nativi esistenti.
- Tipi
- struct,matrix,vector,struct
- Forma dichiarata
- exact_retained_observations
- Opzioni
- weights=original_positive_precision_vector
- Non finiti
- error
- Regola unità
- explicit_CORE_plan
gxtxt_api_call("NUMERIC_API_v1", "fit_profile", args)Risultato registrato · fit_profile
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"kind": "expression",
"expression": [
"a*x+b"
],
"parameter_ids": [
"a",
"b"
],
"parameter_units": [
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
0.25
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.9985809013354445,
0.9866665673334654
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "b9a68d125273d2307d90c95175d7c74497835878c6f2e330a4823f555dec9dc5",
"binding_sha256": "91ac60511ddacd6749eae8c7f09449a6e458f7db4291f25f06ca6a4a2b551f4f",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
0.25
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-100.0,
-100.0
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
100.0,
100.0
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "1",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"expression": "a*x+b",
"predictor_ids": [
"x"
],
"predictor_units": [
"1"
],
"response_unit": "1",
"parameters": [
{
"id": "a",
"unit": "1",
"initial": 1.0,
"lower": -100.0,
"upper": 100.0
},
{
"id": "b",
"unit": "1",
"initial": 0.25,
"lower": -100.0,
"upper": 100.0
}
]
},
"original_expression": "a*x+b",
"effective_expression": "a*x+b",
"d
[…]Esito, anteprima
{
"summary": {
"schema": "gxtxt.fit_profile_numeric.v1",
"settings": {
"parameter_id": "a",
"confidence": 0.95,
"search_lower": 1.5,
"search_upper": 2.5,
"initial_step": 0.004,
"parameter_tolerance": 0.0001,
"max_refits": 48.0,
"max_seconds": 15.0
},
"n": 22.0,
"p": 2.0,
"baseline_sse": 0.27406343935594607,
"objective": "n_log_sse_ratio",
"threshold": 3.8414588206941263,
"threshold_distribution": "chi_square_1",
"threshold_method": "two_erfinv_confidence_squared",
"interval_policy": "connected_local_profile_component",
"execution_policy": "sequential_one_thread_per_refit",
"original_fit_count": 0.0,
"attempted_count": 26.0,
"successful_count": 26.0,
"failed_count": 0.0,
"max_refits": 48.0,
"elapsed_seconds": 6.553071022033691,
"workspace_bytes_bound": 11072.0
},
"trial_values": {
"shape": [
26,
4
],
"dtype": "float64",
"values": [
1.9945809013354445,
1.9913809013354444,
1.9856209013354444,
1.9752529013354445,
1.9565905013354445,
1.9659217013354446,
1.9705873013354447,
1.9682545013354447,
1.9670881013354446,
1.9665049013354445,
1.9662133013354446,
1.9663591013354447
]
},
"trial_parameters": {
"shape": [
26,
2
],
"dtype": "float64",
"values": [
1.9945809013354445,
1.9913809013354444,
1.9856209013354444,
1.9752529013354445,
1.9565905013354445,
1.9659217013354446,
1.9705873013354447,
1.9682545013354447,
1.9670881013354446,
1.9665049013354445,
1.9662133013354446,
1.9663591013354447
]
},
"trial_status": {
"shape": [
26,
1
],
"dtype": "uint8",
"values": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
},
"trial_messages": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"trial_columns": [
"parameter_value",
"weighted_sse",
"likelihood_ratio",
"direction"
],
"status_codes": {
"converged": 1.0,
"solver_failure": 2.0,
"baseline_improved": 3.0
}
}least_squares
- Accesso
- registrata nel Job Python
- Argomenti
- matrice di progetto, risposta, pesi e opzioni facoltativi
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Fit numerico con attestazione facoltativa dell’influenza e righe originali di ingresso tipizzate.
- Effetto
- Adatta una matrice di progetto lineare con pesi facoltativi
- Tipi
- matrix,vector
- Forma dichiarata
- matching_rows
- Opzioni
- rank_policy=error,minimum_norm;weight_semantics=relative,inverse_variance;influence_diagnostics=true,false
- Non finiti
- error,omit
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "least_squares", args)Risultato registrato · least_squares
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
40,
2
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
{
"shape": [
40
],
"dtype": "float64",
"values": [
3.502397127693021,
3.8490402092700293,
4.195644905551329,
4.542205220750953,
4.888715749300064,
5.235171747734771,
5.581569197778721,
5.927904859781541,
6.274176315802433,
6.620382001766006,
6.966521228262664,
7.312594189716963
]
}
]Esito, anteprima
{
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.506433691178872,
3.8522890265576515,
4.198144361936431,
4.543999697315211,
4.8898550326939905,
5.235710368072771,
5.58156570345155,
5.92742103883033,
6.273276374209109,
6.619131709587888,
6.964987044966669,
7.3108423803454485
]
},
"residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.004036563485851019,
-0.0032488172876221633,
-0.0024994563851024054,
-0.0017944765642585736,
-0.001139283393926327,
-0.0005386203379993404,
3.4943271716159074e-06,
0.00048382095121102253,
0.0008999415933237387,
0.0012502921781178955,
0.001534183295994751,
0.0017518093715143124
]
},
"weighted_residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.004036563485851019,
-0.0032488172876221633,
-0.0024994563851024054,
-0.0017944765642585736,
-0.001139283393926327,
-0.0005386203379993404,
3.4943271716159074e-06,
0.00048382095121102253,
0.0008999415933237387,
0.0012502921781178955,
0.001534183295994751,
0.0017518093715143124
]
},
"objective": 8.661459538286369e-05,
"sse": 8.661459538286369e-05,
"rss": 8.661459538286369e-05,
"rmse": 0.0015097454942617915,
"residual_rmse": 0.0015097454942617915,
"response_rmse": 0.0014715178845571644,
"r_squared": 0.9999998641452419,
"adjusted_r_squared": NaN,
"dof": 38.0,
"rank": 2.0,
"condition_number": 7.629499604469735,
"scaled_condition_number": 4.358767688939616,
"covariance": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
2.9989577847939165e-07,
-8.833181528847167e-08,
-8.833181528847167e-08,
3.212066010489878e-08
]
},
"standard_errors": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0005476274084442739,
0.00017922237612781164
]
},
"weighted": false
}linear_regression
- Accesso
- registrata nel Job Python
- Argomenti
- X, Y, pesi e opzioni facoltativi
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Fit numerico con parametri nell’ordine intercetta/pendenza
- Effetto
- Esegue una regressione lineare con pesi facoltativi.
- Tipi
- vector
- Forma dichiarata
- same_length
- Opzioni
- has_intercept=true,false;intercept=true,false;influence_diagnostics=true,false
- Non finiti
- error,omit
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "linear_regression", args)Risultato registrato · linear_regression
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
40
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
{
"shape": [
40
],
"dtype": "float64",
"values": [
3.502397127693021,
3.8490402092700293,
4.195644905551329,
4.542205220750953,
4.888715749300064,
5.235171747734771,
5.581569197778721,
5.927904859781541,
6.274176315802433,
6.620382001766006,
6.966521228262664,
7.312594189716963
]
}
]Esito, anteprima
{
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.506433691178872,
3.8522890265576515,
4.198144361936431,
4.543999697315211,
4.8898550326939905,
5.235710368072771,
5.58156570345155,
5.92742103883033,
6.273276374209109,
6.619131709587888,
6.964987044966669,
7.3108423803454485
]
},
"residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.004036563485851019,
-0.0032488172876221633,
-0.0024994563851024054,
-0.0017944765642585736,
-0.001139283393926327,
-0.0005386203379993404,
3.4943271716159074e-06,
0.00048382095121102253,
0.0008999415933237387,
0.0012502921781178955,
0.001534183295994751,
0.0017518093715143124
]
},
"weighted_residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.004036563485851019,
-0.0032488172876221633,
-0.0024994563851024054,
-0.0017944765642585736,
-0.001139283393926327,
-0.0005386203379993404,
3.4943271716159074e-06,
0.00048382095121102253,
0.0008999415933237387,
0.0012502921781178955,
0.001534183295994751,
0.0017518093715143124
]
},
"objective": 8.661459538286369e-05,
"sse": 8.661459538286369e-05,
"rss": 8.661459538286369e-05,
"rmse": 0.0015097454942617915,
"residual_rmse": 0.0015097454942617915,
"response_rmse": 0.0014715178845571644,
"r_squared": 0.9999998641452419,
"adjusted_r_squared": 0.9999998605701167,
"dof": 38.0,
"rank": 2.0,
"condition_number": 7.629499604469735,
"scaled_condition_number": 4.358767688939616,
"covariance": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
2.9989577847939165e-07,
-8.833181528847167e-08,
-8.833181528847167e-08,
3.212066010489878e-08
]
},
"standard_errors": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0005476274084442739,
0.00017922237612781164
]
},
"weighted": false
}polynomial_fit
- Accesso
- registrata nel Job Python
- Argomenti
- X, Y, grado, pesi e opzioni facoltativi
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Fit numerico con coefficienti in ordine decrescente di potenza.
- Effetto
- Esegue il fit di un polinomio del grado dichiarato
- Tipi
- vector,scalar
- Forma dichiarata
- same_length_xy
- Opzioni
- center_scale=true,false;influence_diagnostics=true,false
- Non finiti
- error,omit
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "polynomial_fit", args)Risultato registrato · polynomial_fit
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
22
],
"dtype": "float64",
"values": [
1.0,
1.2380952380952381,
1.4761904761904763,
1.7142857142857142,
1.9523809523809523,
2.1904761904761907,
2.4285714285714284,
2.6666666666666665,
2.9047619047619047,
3.142857142857143,
3.380952380952381,
3.619047619047619
]
},
{
"shape": [
22
],
"dtype": "float64",
"values": [
3.0225792012895787,
3.3894868954609714,
3.7987820026518593,
4.283168150682681,
4.838638661578362,
5.426435325505179,
5.991996410002849,
6.4916306527930745,
6.913876928404042,
7.285107332321677,
7.656634461979122,
8.07962585232904
]
},
2
]Esito, anteprima
{
"predicted": {
"shape": [
22,
1
],
"dtype": "float64",
"values": [
2.9088479818576918,
3.4065290022016175,
3.902027180067403,
4.395342515455047,
4.886475008364552,
5.375424658795916,
5.862191466749139,
6.346775432224222,
6.829176555221164,
7.309394835739965,
7.787430273780627,
8.263282869343147
]
},
"residuals": {
"shape": [
22,
1
],
"dtype": "float64",
"values": [
0.11373121943188691,
-0.0170421067406461,
-0.10324517741554384,
-0.11217436477236564,
-0.04783634678618931,
0.051010666709262686,
0.12980494325370984,
0.1448552205688527,
0.08470037318287815,
-0.02428750341828856,
-0.13079581180150512,
-0.18365701701410764
]
},
"weighted_residuals": {
"shape": [
22,
1
],
"dtype": "float64",
"values": [
0.11373121943188691,
-0.0170421067406461,
-0.10324517741554384,
-0.11217436477236564,
-0.04783634678618931,
0.051010666709262686,
0.12980494325370984,
0.1448552205688527,
0.08470037318287815,
-0.02428750341828856,
-0.13079581180150512,
-0.18365701701410764
]
},
"objective": 0.24030958705743355,
"sse": 0.24030958705743355,
"rss": 0.24030958705743355,
"rmse": 0.1124627627395967,
"residual_rmse": 0.1124627627395967,
"response_rmse": 0.10451393709962878,
"r_squared": 0.9988031370013724,
"adjusted_r_squared": 0.9986771514225694,
"dof": 19.0,
"rank": 3.0,
"condition_number": 2.7303323852311157,
"scaled_condition_number": 2.624124312829311,
"covariance": {
"shape": [
3,
3
],
"dtype": "float64",
"values": [
0.00013889164254663353,
-0.0009722414978264349,
0.0013845071669727914,
-0.0009722414978264348,
0.007057648112987554,
-0.010573401867518324,
0.0013845071669727912,
-0.010573401867518324,
0.017462503325052548
]
},
"standard_errors": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.011785229847000589,
0.08400980962356452,
0.13214576544502873
]
},
"weighted": false
}nonlinear_evaluate
- Accesso
- registrata nel Job Python
- Argomenti
- modello con parametri, predittori, flag facoltativo del Jacobiano
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- previsioni, identità del modello e Jacobiano fisico facoltativo
- Effetto
- Valuta il modello dichiarato già adattato mediante il motore di espressioni compilate.
- Tipi
- struct,matrix
- Forma dichiarata
- query_rows
- Opzioni
- jacobian=boolean
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "nonlinear_evaluate", args)Risultato registrato · nonlinear_evaluate
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"kind": "expression",
"expression": [
"a*x+b"
],
"parameter_ids": [
"a",
"b"
],
"parameter_units": [
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0,
1.0
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.9974129066037447,
2.007727237908525
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "b9a68d125273d2307d90c95175d7c74497835878c6f2e330a4823f555dec9dc5",
"binding_sha256": "91ac60511ddacd6749eae8c7f09449a6e458f7db4291f25f06ca6a4a2b551f4f",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0,
1.0
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "1",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"expression": "a*x+b",
"predictor_ids": [
"x"
],
"predictor_units": [
"1"
],
"response_unit": "1",
"parameters": [
{
"id": "a",
"initial": 2.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
}
]
},
"original_expression": "a*x+b",
"effective_expression": "a*x+b",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "a*x+b",
[…]Esito, anteprima
{
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.9974129066037447,
2.007727237908525
]
},
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.5064336912103973,
3.8522890265877523,
4.198144361965108,
4.543999697342462,
4.889855032719818,
5.235710368097173,
5.581565703474528,
5.927421038851883,
6.273276374229239,
6.619131709606594,
6.964987044983949,
7.310842380361304
]
},
"jacobian": {
"shape": [
40,
2
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
"converged": false,
"termination": "EVALUATED",
"solver_message": "ceres::Solve was not called.",
"iterations": 0.0,
"function_evaluations": -1.0,
"jacobian_evaluations": -1.0,
"solver_seconds": -1.0,
"solver_objective": NaN,
"solver": "ceres",
"backend_version": "2.2.0",
"derivative_method": "automatic_differentiation",
"parameter_scales": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
1.0
]
},
"free_parameter_count": 2.0,
"threads_used": 1.0,
"adapter_dataset_copy_bytes": 0.0
}curve_model_fit
- Accesso
- registrata nel Job Python
- Argomenti
- modello, X, Y, opzioni facoltative
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- struct dello stato del modello
- Effetto
- Adatta curve ricostruibili, compresa l’interpolazione di Akima e l’approssimazione B-spline con nodi espliciti
- Tipi
- text,vector,struct
- Forma dichiarata
- paired_vectors
- Opzioni
- order=positive_integer;period=positive;smoothing_lambda=nonnegative;degree=1..12;topology=open_closed_auto;parameterization=row_path_user;knots=explicit_simple;boundary=declared;endpoint_slopes=physical_pair;x_unit=text;y_unit=text
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "curve_model_fit", args)Risultato registrato · curve_model_fit
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
"parametric_polynomial",
{
"shape": [
6
],
"dtype": "float64",
"values": [
0.0,
1.0,
2.0,
3.0,
4.0,
5.0
]
},
{
"shape": [
6
],
"dtype": "float64",
"values": [
0.0,
1.0,
4.0,
9.0,
16.0,
25.0
]
},
{
"degree": 2
}
]Esito, anteprima
{
"model": "parametric_polynomial",
"parametric": true,
"topology": "open",
"requested_topology": "auto",
"parameterization": "row_order",
"parameter_start": 0.0,
"parameter_end": 1.0,
"closure_tolerance": 2.5495097567963926e-08,
"source_endpoint_distance": 25.495097567963924,
"repeated_endpoint_removed": false,
"source_count": 6.0,
"parameters": {
"shape": [
6,
1
],
"dtype": "float64",
"values": [
-8.941051885355887e-16,
5.0,
0.0,
24.999999999999954,
4.973799150320701e-14,
-1.0658141036401503e-14
]
},
"coefficients": {
"shape": [
3,
2
],
"dtype": "float64",
"values": [
-8.941051885355887e-16,
5.0,
0.0,
24.999999999999954,
4.973799150320701e-14,
-1.0658141036401503e-14
]
},
"degree": 2.0
}model_state_decode
- Accesso
- registrata nel Job Python
- Argomenti
- testo JSON o vettore di byte uint8 tipizzato
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- stato del modello che preserva i numeri esatti e la struttura JSON; decodificatore nativo limitato
- Effetto
- Decodifica il JSON Numeric salvato con numeri binary64 esatti e struttura limitata
- Tipi
- text_or_uint8_vector
- Forma dichiarata
- bounded_saved_model_bytes
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "model_state_decode", args)Risultato registrato · model_state_decode
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
"{\"schema\":\"teaching.v1\",\"a\":2.5,\"b\":[1,2]}"
]Esito, anteprima
{
"schema": "teaching.v1",
"a": 2.5,
"b": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
2.0
]
}
}fit_input_policy
- Accesso
- registrata nel Job Python
- Argomenti
- nome del modello, stato del modello acquisito
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Criteri di pre-elaborazione versionati, senza fit né calcolo statistico.
- Effetto
- Descrive i criteri effettivi di ordinamento degli ingressi del modello, gestione dei duplicati e trattamento degli estremi, senza eseguire il fit.
- Tipi
- model_name,struct
- Forma dichiarata
- captured_model_decisions
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "fit_input_policy", args)Risultato registrato · fit_input_policy
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
"fourier",
{
"model": "fourier",
"parametric": false,
"order": 1.0,
"period": 1.0,
"fundamental_angular_frequency": 6.283185307179586,
"origin": 0.0,
"basis": "explicit_period",
"coefficients": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"solver": "least_squares",
"parameter_metadata": {
"schema": "gxtxt.curve_parameter_metadata.v1",
"model": "fourier",
"order": 1.0,
"parameter_ids": [
"constant",
"cos_1",
"sin_1"
],
"parameter_labels": [
"C0",
"Ccos_1",
"Csin_1"
],
"unit_roles": [
"response",
"response",
"response"
]
},
"source_count": 81.0
}
]Esito, anteprima
{
"schema": "gxtxt.fit_input_policy.v1",
"model": "fourier",
"order": "preserve_observation_order",
"duplicates": "preserve_distinct_observations",
"aggregation": "none",
"endpoint": "preserve",
"removed_terminal_endpoint": false,
"parameterization": "not_applicable"
}model_geometry
- Accesso
- registrata nel Job Python
- Argomenti
- modello, dominio/opzioni fisiche esplicite
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- definizione esatta o motivo esplicito per cui serve il campionamento; nessun fit
- Effetto
- Converte tratti polinomiali e archi conservati in definizioni Native2D esatte senza nuovo fit
- Tipi
- struct,struct
- Forma dichiarata
- retained_model_geometry
- Opzioni
- domain=explicit;orientation=physical_frame;translation=pair;polar_frame=explicit;extrapolation=error_allow
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "model_geometry", args)Risultato registrato · model_geometry
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"model": "fourier",
"parametric": false,
"order": 1.0,
"period": 1.0,
"fundamental_angular_frequency": 6.283185307179586,
"origin": 0.0,
"basis": "explicit_period",
"coefficients": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"solver": "least_squares",
"parameter_metadata": {
"schema": "gxtxt.curve_parameter_metadata.v1",
"model": "fourier",
"order": 1.0,
"parameter_ids": [
"constant",
"cos_1",
"sin_1"
],
"parameter_labels": [
"C0",
"Ccos_1",
"Csin_1"
],
"unit_roles": [
"response",
"response",
"response"
]
},
"source_count": 81.0
},
{
"domain": [
0.0,
1.0
]
}
]Esito, anteprima
{
"schema": "gxtxt.model_geometry.v1",
"status": "sampled_required",
"reason": "no_exact_native2d_primitive",
"parameter_domain": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
1.0
]
},
"parameter_breaks": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
1.0
]
},
"parameter_mapping": "piecewise_affine",
"fit_performed": false,
"definition": {}
}model_query
- Accesso
- registrata nel Job Python
- Argomenti
- modello, vettore delle interrogazioni, dominio/opzioni esplicite
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- punti, validità della derivata e della pendenza inversa; nessun fit né incertezza
- Effetto
- Valuta un modello conservato senza fit, con validità esplicita della derivata e della pendenza inversa
- Tipi
- struct,vector,struct
- Forma dichiarata
- bounded_scalar_queries
- Opzioni
- domain=explicit;extrapolation=error_allow;derivative=boolean;tangent_floors=two_nonnegative;difference_step=live_callback_positive;difference_relative_tolerance=live_callback_1e-12..0.1;orientation=physical_frame;translation=pair;polar_frame=explicit
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "model_query", args)Risultato registrato · model_query:declared
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"kind": "expression",
"expression": [
"a*x+b"
],
"parameter_ids": [
"a",
"b"
],
"parameter_units": [
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0,
1.0
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.9974129066037447,
2.007727237908525
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "b9a68d125273d2307d90c95175d7c74497835878c6f2e330a4823f555dec9dc5",
"binding_sha256": "91ac60511ddacd6749eae8c7f09449a6e458f7db4291f25f06ca6a4a2b551f4f",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0,
1.0
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "1",
"required_y_unit": "1"
},
"formula_declaration": {
"schema": "gxtxt.fit_formula_declaration.v1",
"recipe": {
"expression": "a*x+b",
"predictor_ids": [
"x"
],
"predictor_units": [
"1"
],
"response_unit": "1",
"parameters": [
{
"id": "a",
"initial": 2.0,
"unit": "1"
},
{
"id": "b",
"initial": 1.0,
"unit": "1"
}
]
},
"original_expression": "a*x+b",
"effective_expression": "a*x+b",
"dimensional_receipt": {
"schema": "gxtxt.expression_dimensions.v1",
"expression": "a*x+b",
[…]Esito, anteprima
{
"schema": "gxtxt.model_query.v1",
"query": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
2.0
]
},
"points": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
1.0,
2.0,
5.00514014451227,
8.002553051116013
]
},
"predicted": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
5.00514014451227,
8.002553051116013
]
},
"parametric": false,
"domain": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.5,
5.0
]
},
"extrapolation": "error",
"is_extrapolated": {
"shape": [
2,
1
],
"dtype": "bool",
"values": [
false,
false
]
},
"derivative": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.9974129066037447,
2.9974129066037447
]
},
"derivative_valid": {
"shape": [
2,
1
],
"dtype": "bool",
"values": [
true,
true
]
},
"inverse_derivative": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.33362103625991996,
0.33362103625991996
]
},
"inverse_derivative_valid": {
"shape": [
2,
1
],
"dtype": "bool",
"values": [
true,
true
]
},
"tangent_x": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
1.0
]
},
"tangent_y": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.9974129066037447,
2.9974129066037447
]
},
"tangent_floors": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
},
"derivative_method": "two_sided_automatic_differentiation",
"fit_performed": false,
"uncertainty_available": false
}model_inverse
- Accesso
- registrata nel Job Python
- Argomenti
- modello, valori obiettivo della risposta, intervallo di ricerca, dominio/tolleranze espliciti
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- radici verificate o motivi di indisponibilità; l’unicità globale non è certificata
- Effetto
- Trova le radici locali del modello conservato con ramo esplicito e verifica del residuo
- Tipi
- struct,vector,vector,struct
- Forma dichiarata
- bounded_1_to_64_targets
- Opzioni
- domain=explicit;x_tolerance=positive;response_tolerance=positive;max_iterations=1..256;extrapolation=error_allow;orientation=physical_frame;translation=pair;polar_frame=explicit
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "model_inverse", args)Risultato registrato · model_inverse
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"model": "fourier",
"parametric": false,
"order": 1.0,
"period": 1.0,
"fundamental_angular_frequency": 6.283185307179586,
"origin": 0.0,
"basis": "explicit_period",
"coefficients": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"solver": "least_squares",
"parameter_metadata": {
"schema": "gxtxt.curve_parameter_metadata.v1",
"model": "fourier",
"order": 1.0,
"parameter_ids": [
"constant",
"cos_1",
"sin_1"
],
"parameter_labels": [
"C0",
"Ccos_1",
"Csin_1"
],
"unit_roles": [
"response",
"response",
"response"
]
},
"source_count": 81.0
},
[
0.5
],
[
0.0,
0.25
],
{
"domain": [
0.0,
1.0
]
}
]Esito, anteprima
{
"schema": "gxtxt.model_inverse.v1",
"targets": 0.5,
"roots": 0.08333333333471919,
"valid": true,
"residual": 7.541189894766376e-12,
"bracket": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.25
]
},
"domain": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
1.0
]
},
"is_extrapolated": false,
"iterations": 7.0,
"function_evaluations": 9.0,
"reasons": [
"Local bracket root verified against the response tolerance; global uniqueness is not certified."
],
"x_tolerance": 1e-12,
"response_tolerance": 1e-10,
"uniqueness": "not_certified",
"branch_contract": "caller_declares_continuous_branch",
"fit_performed": false,
"uncertainty_available": false
}curve_model_parameter_state
- Accesso
- registrata nel Job Python
- Argomenti
- stato del modello, vettore dei parametri o vuoto per i valori correnti
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- stato convalidato, parametri nominati e ruoli delle unità; nessuna ottimizzazione
- Effetto
- Convalida e compatta i parametri diretti della curva senza ottimizzazione né statistiche
- Tipi
- struct,vector
- Forma dichiarata
- bounded_1_to_127_parameters
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "curve_model_parameter_state", args)Risultato registrato · curve_model_parameter_state
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"model": "fourier",
"parametric": false,
"order": 1.0,
"period": 1.0,
"fundamental_angular_frequency": 6.283185307179586,
"origin": 0.0,
"basis": "explicit_period",
"coefficients": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"solver": "least_squares",
"parameter_metadata": {
"schema": "gxtxt.curve_parameter_metadata.v1",
"model": "fourier",
"order": 1.0,
"parameter_ids": [
"constant",
"cos_1",
"sin_1"
],
"parameter_labels": [
"C0",
"Ccos_1",
"Csin_1"
],
"unit_roles": [
"response",
"response",
"response"
]
},
"source_count": 81.0
},
[]
]Esito, anteprima
{
"schema": "gxtxt.curve_parameter_state.v1",
"model": {
"model": "fourier",
"parametric": false,
"order": 1.0,
"period": 1.0,
"origin": 0.0,
"fundamental_angular_frequency": 6.283185307179586,
"coefficients": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
}
},
"parameter_ids": [
"constant",
"cos_1",
"sin_1"
],
"unit_roles": [
"response",
"response",
"response"
],
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"lower_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-Infinity,
-Infinity,
-Infinity
]
},
"upper_bounds": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
Infinity,
Infinity,
Infinity
]
},
"fixed_mask": {
"shape": [
3,
1
],
"dtype": "bool",
"values": [
false,
false,
false
]
},
"nonlinear_optimization": false,
"accepted": false,
"initial_values_affect_direct_solver": false
}Esito del controllo negativo o del tentativo · curve_model_parameter_state
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"model": "fourier",
"parametric": false,
"order": 1.0,
"period": 1.0,
"fundamental_angular_frequency": 6.283185307179586,
"origin": 0.0,
"basis": "explicit_period",
"coefficients": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"solver": "least_squares",
"parameter_metadata": {
"schema": "gxtxt.curve_parameter_metadata.v1",
"model": "fourier",
"order": 1.0,
"parameter_ids": [
"constant",
"cos_1",
"sin_1"
],
"parameter_labels": [
"C0",
"Ccos_1",
"Csin_1"
],
"unit_roles": [
"response",
"response",
"response"
]
},
"source_count": 81.0
}
]Esito, anteprima
"GXTXT:ScriptBridge:InvalidArguments: invalid curve_model_parameter_state argument count"
curve_model_evaluate
- Accesso
- registrata nel Job Python
- Argomenti
- stato del modello, vettore delle interrogazioni
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- struct dei punti X/Y
- Effetto
- Valuta un modello di curva scientifica salvato
- Tipi
- struct,vector
- Forma dichiarata
- query_rows
- Opzioni
- derivative=boolean;extrapolation=error_allow_for_knot_models
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "curve_model_evaluate", args)Risultato registrato · curve_model_evaluate
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"model": "fourier",
"parametric": false,
"order": 1.0,
"period": 1.0,
"fundamental_angular_frequency": 6.283185307179586,
"origin": 0.0,
"basis": "explicit_period",
"coefficients": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"parameters": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
-3.222678586243158e-17,
-2.641002862778835e-17,
1.0000000000000002
]
},
"solver": "least_squares",
"parameter_metadata": {
"schema": "gxtxt.curve_parameter_metadata.v1",
"model": "fourier",
"order": 1.0,
"parameter_ids": [
"constant",
"cos_1",
"sin_1"
],
"parameter_labels": [
"C0",
"Ccos_1",
"Csin_1"
],
"unit_roles": [
"response",
"response",
"response"
]
},
"source_count": 81.0
},
[
0.0,
0.25,
0.5,
0.75,
1.0
]
]Esito, anteprima
{
"x": {
"shape": [
5,
1
],
"dtype": "float64",
"values": [
0.0,
0.25,
0.5,
0.75,
1.0
]
},
"y": {
"shape": [
5,
1
],
"dtype": "float64",
"values": [
-5.863681449021992e-17,
1.0000000000000002,
1.1664792268009212e-16,
-1.0000000000000002,
-3.035661743196906e-16
]
},
"points": {
"shape": [
5,
2
],
"dtype": "float64",
"values": [
0.0,
0.25,
0.5,
0.75,
1.0,
-5.863681449021992e-17,
1.0000000000000002,
1.1664792268009212e-16,
-1.0000000000000002,
-3.035661743196906e-16
]
}
}root_find
- Accesso
- registrata nel Job Python
- Argomenti
- callback, intervallo di ricerca o valore iniziale, opzioni facoltative
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- diagnostica della radice e della convergenza
- Effetto
- Trova una radice di una callback scalare
- Tipi
- callback,scalar
- Forma dichiarata
- callback_owned
- Opzioni
- tolerance=positive_number
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "root_find", args)Risultato registrato · model:root_find
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
"root_find",
{
"kind": "struct",
"fields": {
"kind": {
"kind": "text",
"value": "polynomial"
},
"coefficients": {
"kind": "array",
"shape": [
3,
1
],
"real": [
1.0,
0.0,
-2.0
]
}
}
},
[
{
"kind": "array",
"shape": [
2,
1
],
"real": [
0.0,
2.0
]
}
]
]Esito, anteprima
{
"root": 1.4142135763730959,
"fval": 3.9597982226524664e-08,
"converged": true,
"exitflag": 1.0,
"iterations": 6.0,
"function_evaluations": 8.0,
"solver": "fzero"
}minimize_1d
- Accesso
- registrata nel Job Python
- Argomenti
- callback, limiti, opzioni facoltative
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- diagnostica del minimo e della convergenza
- Effetto
- Minimizza una callback scalare su un intervallo
- Tipi
- callback,vector
- Forma dichiarata
- callback_owned
- Opzioni
- tolerance=positive_number
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "minimize_1d", args)Risultato registrato · model:minimize_1d
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
"minimize_1d",
{
"kind": "struct",
"fields": {
"kind": {
"kind": "text",
"value": "polynomial"
},
"coefficients": {
"kind": "array",
"shape": [
3,
1
],
"real": [
1.0,
-4.0,
4.0
]
}
}
},
[
{
"kind": "array",
"shape": [
2,
1
],
"real": [
0.0,
4.0
]
}
]
]Esito, anteprima
{
"x": 2.0,
"fval": 0.0,
"converged": true,
"exitflag": 1.0,
"iterations": 5.0,
"function_evaluations": 6.0,
"solver": "fminbnd"
}minimize
- Accesso
- registrata nel Job Python
- Argomenti
- callback, punto iniziale, opzioni facoltative
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- diagnostica del minimo e della convergenza
- Effetto
- Minimizza un obiettivo in forma di callback a partire dai parametri iniziali
- Tipi
- callback,vector
- Forma dichiarata
- callback_owned
- Opzioni
- max_iterations=positive_integer;tolerance=positive_number
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "minimize", args)Risultato registrato · model:minimize
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
"minimize",
{
"kind": "struct",
"fields": {
"kind": {
"kind": "text",
"value": "quadratic_norm"
},
"center": {
"kind": "array",
"shape": [
2,
1
],
"real": [
2.0,
-1.0
]
}
}
},
[
{
"kind": "array",
"shape": [
2,
1
],
"real": [
0.0,
0.0
]
}
]
]Esito, anteprima
{
"x": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
2.0000000021072566,
-1.0000000048864104
]
},
"fval": 2.8317536816547166e-17,
"converged": true,
"exitflag": 1.0,
"iterations": 64.0,
"function_evaluations": 122.0,
"solver": "fminsearch"
}nonlinear_fit
- Accesso
- registrata nel Job Python
- Argomenti
- X, Y, callback o struct del modello di espressione, parametri iniziali, opzioni facoltative
- Unità
- Le unità seguono il contratto dell’operazione in NUMERIC_API_v1.
- Esito
- Parametri, residui e diagnostica del fit, con attestazioni limitate dei tentativi se è richiesto il multistart.
- Effetto
- Adatta una callback o un’espressione dichiarata a osservazioni numeriche
- Tipi
- callback,struct,vector,matrix
- Forma dichiarata
- model_owned
- Opzioni
- max_iterations=positive_integer;tolerance=positive_number
- Non finiti
- error
- Regola unità
- caller_owned
gxtxt_api_call("NUMERIC_API_v1", "nonlinear_fit", args)Risultato registrato · nonlinear_fit
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
22
],
"dtype": "float64",
"values": [
1.0,
1.2380952380952381,
1.4761904761904763,
1.7142857142857142,
1.9523809523809523,
2.1904761904761907,
2.4285714285714284,
2.6666666666666665,
2.9047619047619047,
3.142857142857143,
3.380952380952381,
3.619047619047619
]
},
{
"shape": [
22
],
"dtype": "float64",
"values": [
3.0225792012895787,
3.3894868954609714,
3.7987820026518593,
4.283168150682681,
4.838638661578362,
5.426435325505179,
5.991996410002849,
6.4916306527930745,
6.913876928404042,
7.285107332321677,
7.656634461979122,
8.07962585232904
]
},
{
"kind": "expression",
"expression": [
"a*x+b"
],
"parameter_ids": [
"a",
"b"
],
"parameter_units": [
"1",
"1"
],
"predictor_ids": [
"x"
],
"response_units": [
"1"
],
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
0.25
]
},
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
0.25
]
},
"expression_grammar": "CORE controlled expression v1",
"compiler_version": 1.0,
"source_sha256": "b9a68d125273d2307d90c95175d7c74497835878c6f2e330a4823f555dec9dc5",
"binding_sha256": "91ac60511ddacd6749eae8c7f09449a6e458f7db4291f25f06ca6a4a2b551f4f",
"parameter_constraints": {
"initial_parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.0,
0.25
]
},
"lower_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
-100.0,
-100.0
]
},
"upper_bounds": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
100.0,
100.0
]
},
"fixed_mask": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0,
0.0
]
}
},
"input_constraints": {
"domain": "finite_real",
"translation_policy": "forbid_translation",
"required_x_unit": "1",
[…]Esito, anteprima
{
"parameters": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
1.9985809013354445,
0.9866665673334654
]
},
"predicted": {
"shape": [
22,
1
],
"dtype": "float64",
"values": [
2.98524746866891,
3.4611000642249685,
3.936952659781027,
4.4128052553370845,
4.888657850893143,
5.364510446449201,
5.840363042005259,
6.316215637561317,
6.792068233117376,
7.267920828673433,
7.7437734242294916,
8.21962601978555
]
},
"residuals": {
"shape": [
22,
1
],
"dtype": "float64",
"values": [
0.03733173262066858,
-0.07161316876399715,
-0.13817065712916765,
-0.12963710465440315,
-0.050019189314780554,
0.061924879055977655,
0.15163336799759008,
0.1754150152317573,
0.12180869528666616,
0.0171865036482437,
-0.08713896225036954,
-0.14000016745651145
]
},
"weighted_residuals": {
"shape": [
22,
1
],
"dtype": "float64",
"values": [
0.03733173262066858,
-0.07161316876399715,
-0.13817065712916765,
-0.12963710465440315,
-0.050019189314780554,
0.061924879055977655,
0.15163336799759008,
0.1754150152317573,
0.12180869528666616,
0.0171865036482437,
-0.08713896225036954,
-0.14000016745651145
]
},
"objective": 0.27406343935594607,
"sse": 0.27406343935594607,
"rss": 0.27406343935594607,
"rmse": 0.11706054829786722,
"residual_rmse": 0.11706054829786722,
"response_rmse": 0.11161285347859319,
"r_squared": 0.9986350257854533,
"adjusted_r_squared": 0.998566777074726,
"dof": 20.0,
"rank": 2.0,
"condition_number": 10.184020722229539,
"scaled_condition_number": 4.840672073226063,
"covariance": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
0.00027298018465493444,
-0.0009554306462922706,
-0.0009554306462922706,
0.003966878715104643
]
},
"standard_errors": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.01652211199135675,
0.06298316215548917
]
}
}covariance
- Accesso
- registrata nel Job Python
- Argomenti
- x y {options {}}
- Unità
- Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
- Esito
- Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
- Effetto
- Covarianze della popolazione e del campione, con i conteggi delle coppie.
- Tipi
- vector
- Forma dichiarata
- same_length
- Opzioni
- nonfinite=error,omit
- Non finiti
- error,omit
- Regola unità
- multiply
- Funzione d’espressione
- covariance
gxtxt_api_call("NUMERIC_API_v1", "covariance", args)Risultato registrato · covariance
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
4
],
"dtype": "float64",
"values": [
1.0,
2.0,
3.0,
4.0
]
},
{
"shape": [
4
],
"dtype": "float64",
"values": [
1.0,
1.0,
2.0,
2.0
]
}
]Esito, anteprima
{
"covariance_population": 0.5,
"covariance_sample": 0.6666666666666666,
"n_input": 4.0,
"n_valid": 4.0,
"n_nonfinite": 0.0,
"missing_pair_policy": "pairwise"
}leastSquares
- Accesso
- registrata nel Job Python
- Argomenti
- design response {weights {}} {options {}}
- Unità
- Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
- Esito
- Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
- Funzione
- Esegue invariata l’operazione Numeric originale leastSquares.
gxtxt_api_call("NUMERIC_API_v1", "leastSquares", args)Risultato registrato · leastSquares
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
40,
2
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
{
"shape": [
40
],
"dtype": "float64",
"values": [
3.502397127693021,
3.8490402092700293,
4.195644905551329,
4.542205220750953,
4.888715749300064,
5.235171747734771,
5.581569197778721,
5.927904859781541,
6.274176315802433,
6.620382001766006,
6.966521228262664,
7.312594189716963
]
}
]Esito, anteprima
{
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.506433691178872,
3.8522890265576515,
4.198144361936431,
4.543999697315211,
4.8898550326939905,
5.235710368072771,
5.58156570345155,
5.92742103883033,
6.273276374209109,
6.619131709587888,
6.964987044966669,
7.3108423803454485
]
},
"residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.004036563485851019,
-0.0032488172876221633,
-0.0024994563851024054,
-0.0017944765642585736,
-0.001139283393926327,
-0.0005386203379993404,
3.4943271716159074e-06,
0.00048382095121102253,
0.0008999415933237387,
0.0012502921781178955,
0.001534183295994751,
0.0017518093715143124
]
},
"weighted_residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.004036563485851019,
-0.0032488172876221633,
-0.0024994563851024054,
-0.0017944765642585736,
-0.001139283393926327,
-0.0005386203379993404,
3.4943271716159074e-06,
0.00048382095121102253,
0.0008999415933237387,
0.0012502921781178955,
0.001534183295994751,
0.0017518093715143124
]
},
"objective": 8.661459538286369e-05,
"sse": 8.661459538286369e-05,
"rss": 8.661459538286369e-05,
"rmse": 0.0015097454942617915,
"residual_rmse": 0.0015097454942617915,
"response_rmse": 0.0014715178845571644,
"r_squared": 0.9999998641452419,
"adjusted_r_squared": NaN,
"dof": 38.0,
"rank": 2.0,
"condition_number": 7.629499604469735,
"scaled_condition_number": 4.358767688939616,
"covariance": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
2.9989577847939165e-07,
-8.833181528847167e-08,
-8.833181528847167e-08,
3.212066010489878e-08
]
},
"standard_errors": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0005476274084442739,
0.00017922237612781164
]
},
"weighted": false
}fitInformationCriteria
- Accesso
- registrata nel Job Python
- Argomenti
- plan
- Unità
- Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
- Esito
- Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
- Funzione
- Esegue invariata l’operazione Numeric originale fitInformationCriteria.
gxtxt_api_call("NUMERIC_API_v1", "fitInformationCriteria", args)Risultato registrato · fitInformationCriteria
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"api_id": "STATISTICAL_MODEL_SELECTION_PLAN_v1",
"api_version": 1.0,
"status": "value",
"reason": "",
"observation_status": "value",
"source_model_id": "math.numeric.nonlinear",
"source_id": "synthetic_line",
"source_sha256": "d72098c4decf5a5689de1e11391dc7410d7ec86aa3f4e680c51134f0499052c3",
"rows_sha256": "fa6ec9ba7307dbf714e5bb050e41749591d3d20cf5fcae88bd1cf99b41ee5216",
"n": 22.0,
"free_parameter_count": 2.0,
"weighted_sse": 0.27406343935594607,
"log_weight_sum": 0.0,
"response_sha256": "9e76cffd934fc8aeed063a695ced927642757c3071e58e66745ba011d8ac6147",
"weights_sha256": "0d811a1ed6f6ec848a389b2ea64546e82ff05e72ac15109d142c621edb8efc65",
"x_variable_id": "x",
"y_variable_id": "y",
"x_unit": "1"
}
]Esito, anteprima
{
"numeric_api": "NUMERIC_API_v1",
"operation": "fit_information_criteria",
"plan": {
"api_id": "STATISTICAL_MODEL_SELECTION_PLAN_v1",
"api_version": 1.0,
"status": "value",
"reason": "",
"observation_status": "value",
"source_model_id": "math.numeric.nonlinear",
"source_id": "synthetic_line",
"source_sha256": "d72098c4decf5a5689de1e11391dc7410d7ec86aa3f4e680c51134f0499052c3",
"rows_sha256": "fa6ec9ba7307dbf714e5bb050e41749591d3d20cf5fcae88bd1cf99b41ee5216",
"n": 22.0,
"free_parameter_count": 2.0,
"weighted_sse": 0.27406343935594607,
"log_weight_sum": 0.0,
"response_sha256": "9e76cffd934fc8aeed063a695ced927642757c3071e58e66745ba011d8ac6147",
"weights_sha256": "0d811a1ed6f6ec848a389b2ea64546e82ff05e72ac15109d142c621edb8efc65",
"x_variable_id": "x",
"y_variable_id": "y",
"x_unit": "1"
},
"n": 22.0,
"free_parameter_count": 2.0,
"likelihood_parameter_count": 3.0,
"log_likelihood": 17.023171614305262,
"aic": -28.046343228610525,
"aicc": -26.713009895277192,
"bic": -24.773215868535576,
"aicc_computed": true,
"variance_mle": 0.012457429061633912
}Esito del controllo negativo o del tentativo · fitInformationCriteria
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"api_id": "STATISTICAL_MODEL_SELECTION_PLAN_v1",
"api_version": 1.0,
"status": "unavailable",
"reason": "Canonical predictor and response identities are required",
"observation_status": "unavailable",
"source_model_id": "math.numeric.nonlinear",
"source_id": "synthetic_line",
"source_sha256": "d72098c4decf5a5689de1e11391dc7410d7ec86aa3f4e680c51134f0499052c3",
"rows_sha256": "fa6ec9ba7307dbf714e5bb050e41749591d3d20cf5fcae88bd1cf99b41ee5216",
"n": 22.0,
"free_parameter_count": "",
"weighted_sse": "",
"log_weight_sum": 0.0,
"response_sha256": "9e76cffd934fc8aeed063a695ced927642757c3071e58e66745ba011d8ac6147",
"weights_sha256": "0d811a1ed6f6ec848a389b2ea64546e82ff05e72ac15109d142c621edb8efc65",
"x_variable_id": "",
"y_variable_id": "",
"x_unit": "1"
}
]Esito, anteprima
"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/fitInformationCriteria: A valid public CORE model-selection plan is required"
nestedFTest
- Accesso
- registrata nel Job Python
- Argomenti
- plan
- Unità
- Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
- Esito
- Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
- Funzione
- Esegue invariata l’operazione Numeric originale nestedFTest.
gxtxt_api_call("NUMERIC_API_v1", "nestedFTest", args)Risultato registrato · nestedFTest
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"api_id": "STATISTICAL_NESTED_F_PLAN_v1",
"api_version": 1.0,
"status": "value",
"reason": "",
"method": "complete_polynomial_spaces",
"reduced_id": "degree_1",
"full_id": "degree_2",
"n": 22.0,
"reduced_p": 2.0,
"full_p": 3.0,
"reduced_sse": 0.27406343935594457,
"full_sse": 0.24030958705743355,
"numerator_df": 1.0,
"denominator_df": 19.0,
"source_id": "synthetic_line",
"source_sha256": "d72098c4decf5a5689de1e11391dc7410d7ec86aa3f4e680c51134f0499052c3",
"rows_sha256": "fa6ec9ba7307dbf714e5bb050e41749591d3d20cf5fcae88bd1cf99b41ee5216",
"response_sha256": "9e76cffd934fc8aeed063a695ced927642757c3071e58e66745ba011d8ac6147"
}
]Esito, anteprima
{
"numeric_api": "NUMERIC_API_v1",
"operation": "nested_f_test",
"plan": {
"api_id": "STATISTICAL_NESTED_F_PLAN_v1",
"api_version": 1.0,
"status": "value",
"reason": "",
"method": "complete_polynomial_spaces",
"reduced_id": "degree_1",
"full_id": "degree_2",
"n": 22.0,
"reduced_p": 2.0,
"full_p": 3.0,
"reduced_sse": 0.27406343935594457,
"full_sse": 0.24030958705743355,
"numerator_df": 1.0,
"denominator_df": 19.0,
"source_id": "synthetic_line",
"source_sha256": "d72098c4decf5a5689de1e11391dc7410d7ec86aa3f4e680c51134f0499052c3",
"rows_sha256": "fa6ec9ba7307dbf714e5bb050e41749591d3d20cf5fcae88bd1cf99b41ee5216",
"response_sha256": "9e76cffd934fc8aeed063a695ced927642757c3071e58e66745ba011d8ac6147"
},
"status": "value",
"reason": "",
"f_statistic": 2.6687374462444327,
"p_value": 0.11879858241360768,
"numerator_df": 1.0,
"denominator_df": 19.0,
"sse_reduction": 0.03375385229851102,
"sse_roundoff_clamped": false
}Esito del controllo negativo o del tentativo · nestedFTest
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"api_id": "STATISTICAL_NESTED_F_PLAN_v1",
"api_version": 1.0,
"status": "unavailable",
"reason": "reduced: Active or undeclared constraints do not support these regular likelihood criteria",
"method": "complete_polynomial_spaces",
"reduced_id": "degree_1",
"full_id": "",
"n": "",
"reduced_p": "",
"full_p": "",
"reduced_sse": "",
"full_sse": "",
"numerator_df": "",
"denominator_df": "",
"source_id": "",
"source_sha256": "",
"rows_sha256": "",
"response_sha256": ""
}
]Esito, anteprima
"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/nestedFTest: A valid public CORE nested-F plan is required"
fitProfile
- Accesso
- registrata nel Job Python
- Argomenti
- model predictors response plan {options {kind struct fields {}}}
- Unità
- Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
- Esito
- Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
- Funzione
- Esegue invariata l’operazione Numeric originale fitProfile.
gxtxt_api_call("NUMERIC_API_v1", "fitProfile", args)Risultato registrato · fitProfile
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"kind": "struct",
"fields": {
"kind": {
"kind": "text",
"value": "expression"
},
"expression": {
"kind": "cell",
"shape": [
1,
1
],
"items": [
{
"kind": "text",
"value": "a*x+b"
}
]
},
"parameter_ids": {
"kind": "cell",
"shape": [
1,
2
],
"items": [
{
"kind": "text",
"value": "a"
},
{
"kind": "text",
"value": "b"
}
]
},
"parameter_units": {
"kind": "cell",
"shape": [
1,
2
],
"items": [
{
"kind": "text",
"value": "1"
},
{
"kind": "text",
"value": "1"
}
]
},
"predictor_ids": {
"kind": "cell",
"shape": [
1,
1
],
"items": [
{
"kind": "text",
"value": "x"
}
]
},
"response_units": {
"kind": "cell",
"shape": [
1,
1
],
"items": [
{
"kind": "text",
"value": "1"
}
]
},
"initial_parameters": {
"kind": "array",
"shape": [
2,
1
],
"real": [
1.0,
0.25
]
},
"parameters": {
"kind": "array",
"shape": [
2,
1
],
"real": [
1.9985809013354445,
0.9866665673334654
]
},
"expression_grammar": {
"kind": "text",
"value": "CORE controlled expression v1"
},
"compiler_version": {
"kind": "array",
"shape": [
1,
1
],
"real": [
1.0
]
},
"source_sha256": {
"kind": "text",
"value": "b9a68d125273d2307d90c95175d7c74497835878c6f2e330a4823f555dec9dc5"
},
"binding_sha256": {
"kind": "text",
"value": "91ac60511ddacd6749eae8c7f09449a6e458f7db4291f25f06ca6a4a2b551f4f"
},
"parameter_constraints": {
"kind": "struct",
"fields": {
"initial_parameters": {
"kind": "array",
"shape": [
2,
[…]Esito, anteprima
{
"summary": {
"schema": "gxtxt.fit_profile_numeric.v1",
"settings": {
"parameter_id": "a",
"confidence": 0.95,
"search_lower": 1.5,
"search_upper": 2.5,
"initial_step": 0.004,
"parameter_tolerance": 0.0001,
"max_refits": 48.0,
"max_seconds": 15.0
},
"n": 22.0,
"p": 2.0,
"baseline_sse": 0.27406343935594607,
"objective": "n_log_sse_ratio",
"threshold": 3.8414588206941263,
"threshold_distribution": "chi_square_1",
"threshold_method": "two_erfinv_confidence_squared",
"interval_policy": "connected_local_profile_component",
"execution_policy": "sequential_one_thread_per_refit",
"original_fit_count": 0.0,
"attempted_count": 26.0,
"successful_count": 26.0,
"failed_count": 0.0,
"max_refits": 48.0,
"elapsed_seconds": 7.193366050720215,
"workspace_bytes_bound": 11072.0
},
"trial_values": {
"shape": [
26,
4
],
"dtype": "float64",
"values": [
1.9945809013354445,
1.9913809013354444,
1.9856209013354444,
1.9752529013354445,
1.9565905013354445,
1.9659217013354446,
1.9705873013354447,
1.9682545013354447,
1.9670881013354446,
1.9665049013354445,
1.9662133013354446,
1.9663591013354447
]
},
"trial_parameters": {
"shape": [
26,
2
],
"dtype": "float64",
"values": [
1.9945809013354445,
1.9913809013354444,
1.9856209013354444,
1.9752529013354445,
1.9565905013354445,
1.9659217013354446,
1.9705873013354447,
1.9682545013354447,
1.9670881013354446,
1.9665049013354445,
1.9662133013354446,
1.9663591013354447
]
},
"trial_status": {
"shape": [
26,
1
],
"dtype": "float64",
"values": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
]
},
"trial_messages": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"trial_columns": [
"parameter_value",
"weighted_sse",
"likelihood_ratio",
"direction"
],
"status_codes": {
"converged": 1.0,
"solver_failure": 2.0,
"baseline_improved": 3.0
}
}Esito del controllo negativo o del tentativo · fitProfile
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"kind": "struct",
"fields": {
"kind": {
"kind": "text",
"value": "expression"
},
"expression": {
"kind": "cell",
"shape": [
1,
1
],
"items": [
{
"kind": "text",
"value": "a*x+b"
}
]
},
"parameter_ids": {
"kind": "cell",
"shape": [
1,
2
],
"items": [
{
"kind": "text",
"value": "a"
},
{
"kind": "text",
"value": "b"
}
]
},
"parameter_units": {
"kind": "cell",
"shape": [
1,
2
],
"items": [
{
"kind": "text",
"value": "1"
},
{
"kind": "text",
"value": "1"
}
]
},
"predictor_ids": {
"kind": "cell",
"shape": [
1,
1
],
"items": [
{
"kind": "text",
"value": "x"
}
]
},
"response_units": {
"kind": "cell",
"shape": [
1,
1
],
"items": [
{
"kind": "text",
"value": "1"
}
]
},
"initial_parameters": {
"kind": "array",
"shape": [
2,
1
],
"real": [
1.0,
0.25
]
},
"parameters": {
"kind": "array",
"shape": [
2,
1
],
"real": [
1.9985809013354445,
0.9866665673334654
]
},
"expression_grammar": {
"kind": "text",
"value": "CORE controlled expression v1"
},
"compiler_version": {
"kind": "array",
"shape": [
1,
1
],
"real": [
1.0
]
},
"source_sha256": {
"kind": "text",
"value": "b9a68d125273d2307d90c95175d7c74497835878c6f2e330a4823f555dec9dc5"
},
"binding_sha256": {
"kind": "text",
"value": "91ac60511ddacd6749eae8c7f09449a6e458f7db4291f25f06ca6a4a2b551f4f"
},
"parameter_constraints": {
"kind": "struct",
"fields": {
"initial_parameters": {
"kind": "array",
"shape": [
2,
[…]Esito, anteprima
"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/fitProfile: nonfinite input is not accepted"
linearRegression
- Accesso
- registrata nel Job Python
- Argomenti
- x y {weights {}} {options {}}
- Unità
- Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
- Esito
- Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
- Funzione
- Esegue invariata l’operazione Numeric originale linearRegression.
gxtxt_api_call("NUMERIC_API_v1", "linearRegression", args)Risultato registrato · linearRegression
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
40
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
{
"shape": [
40
],
"dtype": "float64",
"values": [
3.502397127693021,
3.8490402092700293,
4.195644905551329,
4.542205220750953,
4.888715749300064,
5.235171747734771,
5.581569197778721,
5.927904859781541,
6.274176315802433,
6.620382001766006,
6.966521228262664,
7.312594189716963
]
}
]Esito, anteprima
{
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.506433691178872,
3.8522890265576515,
4.198144361936431,
4.543999697315211,
4.8898550326939905,
5.235710368072771,
5.58156570345155,
5.92742103883033,
6.273276374209109,
6.619131709587888,
6.964987044966669,
7.3108423803454485
]
},
"residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.004036563485851019,
-0.0032488172876221633,
-0.0024994563851024054,
-0.0017944765642585736,
-0.001139283393926327,
-0.0005386203379993404,
3.4943271716159074e-06,
0.00048382095121102253,
0.0008999415933237387,
0.0012502921781178955,
0.001534183295994751,
0.0017518093715143124
]
},
"weighted_residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.004036563485851019,
-0.0032488172876221633,
-0.0024994563851024054,
-0.0017944765642585736,
-0.001139283393926327,
-0.0005386203379993404,
3.4943271716159074e-06,
0.00048382095121102253,
0.0008999415933237387,
0.0012502921781178955,
0.001534183295994751,
0.0017518093715143124
]
},
"objective": 8.661459538286369e-05,
"sse": 8.661459538286369e-05,
"rss": 8.661459538286369e-05,
"rmse": 0.0015097454942617915,
"residual_rmse": 0.0015097454942617915,
"response_rmse": 0.0014715178845571644,
"r_squared": 0.9999998641452419,
"adjusted_r_squared": 0.9999998605701167,
"dof": 38.0,
"rank": 2.0,
"condition_number": 7.629499604469735,
"scaled_condition_number": 4.358767688939616,
"covariance": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
2.9989577847939165e-07,
-8.833181528847167e-08,
-8.833181528847167e-08,
3.212066010489878e-08
]
},
"standard_errors": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.0005476274084442739,
0.00017922237612781164
]
},
"weighted": false
}polynomialFit
- Accesso
- registrata nel Job Python
- Argomenti
- x y degree {weights {}} {options {}}
- Unità
- Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
- Esito
- Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
- Funzione
- Esegue invariata l’operazione Numeric originale polynomialFit.
gxtxt_api_call("NUMERIC_API_v1", "polynomialFit", args)Risultato registrato · polynomialFit
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
40
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
{
"shape": [
40
],
"dtype": "float64",
"values": [
3.502397127693021,
3.8490402092700293,
4.195644905551329,
4.542205220750953,
4.888715749300064,
5.235171747734771,
5.581569197778721,
5.927904859781541,
6.274176315802433,
6.620382001766006,
6.966521228262664,
7.312594189716963
]
},
2
]Esito, anteprima
{
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.5043242525477787,
3.850504116946726,
4.196666900870928,
4.5428126043203845,
4.888941227295094,
5.235052769795058,
5.581147231820277,
5.9272246133707505,
6.273284914446478,
6.619328135047461,
6.965354275173697,
7.311363334825187
]
},
"residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.0019271248547578779,
-0.0014639076766966852,
-0.0010219953195989007,
-0.0006073835694317964,
-0.00022547799502969923,
0.00011897793971282766,
0.000421965958444126,
0.0006802464107904527,
0.0008914013559548906,
0.0010538667185455708,
0.001166953088967304,
0.0012308548917756568
]
},
"weighted_residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.0019271248547578779,
-0.0014639076766966852,
-0.0010219953195989007,
-0.0006073835694317964,
-0.00022547799502969923,
0.00011897793971282766,
0.000421965958444126,
0.0006802464107904527,
0.0008914013559548906,
0.0010538667185455708,
0.001166953088967304,
0.0012308548917756568
]
},
"objective": 4.5251910554181355e-05,
"sse": 4.5251910554181355e-05,
"rss": 4.5251910554181355e-05,
"rmse": 0.0011059044305781892,
"residual_rmse": 0.0011059044305781892,
"response_rmse": 0.0010636248228837713,
"r_squared": 0.999999929022501,
"adjusted_r_squared": 0.9999999251858794,
"dof": 37.0,
"rank": 3.0,
"condition_number": 2.745963008186296,
"scaled_condition_number": 2.6198672829032033,
"covariance": {
"shape": [
3,
3
],
"dtype": "float64",
"values": [
1.2166754135703835e-08,
-6.69171477463711e-08,
7.042678836243952e-08,
-6.69171477463711e-08,
3.852793477534878e-07,
-4.347436826516459e-07,
7.042678836243952e-08,
-4.3474368265164585e-07,
5.685783242627918e-07
]
},
"standard_errors": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.00011030301054687417,
0.0006207087463162476,
0.0007540413279541061
]
},
"weighted": false
}polynomialEvaluate
- Accesso
- registrata nel Job Python
- Argomenti
- model xq {options {}}
- Unità
- Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
- Esito
- Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
- Funzione
- Esegue invariata l’operazione Numeric originale polynomialEvaluate.
gxtxt_api_call("NUMERIC_API_v1", "polynomialEvaluate", args)Risultato registrato · polynomialEvaluate
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.5043242525477787,
3.850504116946726,
4.196666900870928,
4.5428126043203845,
4.888941227295094,
5.235052769795058,
5.581147231820277,
5.9272246133707505,
6.273284914446478,
6.619328135047461,
6.965354275173697,
7.311363334825187
]
},
"residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.0019271248547578779,
-0.0014639076766966852,
-0.0010219953195989007,
-0.0006073835694317964,
-0.00022547799502969923,
0.00011897793971282766,
0.000421965958444126,
0.0006802464107904527,
0.0008914013559548906,
0.0010538667185455708,
0.001166953088967304,
0.0012308548917756568
]
},
"weighted_residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.0019271248547578779,
-0.0014639076766966852,
-0.0010219953195989007,
-0.0006073835694317964,
-0.00022547799502969923,
0.00011897793971282766,
0.000421965958444126,
0.0006802464107904527,
0.0008914013559548906,
0.0010538667185455708,
0.001166953088967304,
0.0012308548917756568
]
},
"objective": 4.5251910554181355e-05,
"sse": 4.5251910554181355e-05,
"rss": 4.5251910554181355e-05,
"rmse": 0.0011059044305781892,
"residual_rmse": 0.0011059044305781892,
"response_rmse": 0.0010636248228837713,
"r_squared": 0.999999929022501,
"adjusted_r_squared": 0.9999999251858794,
"dof": 37.0,
"rank": 3.0,
"condition_number": 2.745963008186296,
"scaled_condition_number": 2.6198672829032033,
"covariance": {
"shape": [
3,
3
],
"dtype": "float64",
"values": [
1.2166754135703835e-08,
-6.69171477463711e-08,
7.042678836243952e-08,
-6.69171477463711e-08,
3.852793477534878e-07,
-4.347436826516459e-07,
7.042678836243952e-08,
-4.3474368265164585e-07,
5.685783242627918e-07
]
},
"standard_errors": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.00011030301054687417,
0.0006207087463162476
[…]Esito, anteprima
{
"xq": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
"yq": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.5043242525477787,
3.850504116946726,
4.196666900870928,
4.5428126043203845,
4.888941227295094,
5.235052769795058,
5.581147231820277,
5.9272246133707505,
6.273284914446478,
6.619328135047461,
6.965354275173697,
7.311363334825187
]
},
"degree": 2.0,
"derivative_order": 0.0
}propagateCovariance
- Accesso
- registrata nel Job Python
- Argomenti
- jacobian covariance {options {}}
- Unità
- Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
- Esito
- Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
- Funzione
- Esegue invariata l’operazione Numeric originale propagateCovariance.
gxtxt_api_call("NUMERIC_API_v1", "propagateCovariance", args)Risultato registrato · propagateCovariance
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"shape": [
2,
2
],
"dtype": "float64",
"values": [
1.0,
0.0,
0.0,
1.0
]
},
{
"shape": [
2,
2
],
"dtype": "float64",
"values": [
0.01,
0.0,
0.0,
0.04
]
}
]Esito, anteprima
{
"covariance": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
0.01,
0.0,
0.0,
0.04
]
},
"standard_uncertainty": {
"shape": [
2,
1
],
"dtype": "float64",
"values": [
0.1,
0.2
]
},
"jacobian": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
1.0,
0.0,
0.0,
1.0
]
},
"input_covariance": {
"shape": [
2,
2
],
"dtype": "float64",
"values": [
0.01,
0.0,
0.0,
0.04
]
},
"method": "first_order_linear_propagation",
"input_kind": "covariance",
"input_count": 2.0,
"output_count": 2.0
}polynomial_evaluate
- Accesso
- registrata nel Job Python
- Argomenti
- model xq {options {}}
- Unità
- Mantiene le unità e l’interpretazione del componente responsabile senza rietichettarle.
- Esito
- Risultato originale completo, con i tipi number/boolean/string/vector/matrix/tensor/struct/cell restituiti da resultTypes del componente responsabile subito dopo la chiamata
- Effetto
- Valuta un modello polinomiale
- Tipi
- model,vector
- Forma dichiarata
- model_evaluation
- Opzioni
- derivative_order=0..12
- Non finiti
- caller_owned
- Regola unità
- caller_owned
- Token del catalogo
- polynomial_evaluate
gxtxt_api_call("NUMERIC_API_v1", "polynomial_evaluate", args)Risultato registrato · polynomial_evaluate
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[
{
"predicted": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.5043242525477787,
3.850504116946726,
4.196666900870928,
4.5428126043203845,
4.888941227295094,
5.235052769795058,
5.581147231820277,
5.9272246133707505,
6.273284914446478,
6.619328135047461,
6.965354275173697,
7.311363334825187
]
},
"residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.0019271248547578779,
-0.0014639076766966852,
-0.0010219953195989007,
-0.0006073835694317964,
-0.00022547799502969923,
0.00011897793971282766,
0.000421965958444126,
0.0006802464107904527,
0.0008914013559548906,
0.0010538667185455708,
0.001166953088967304,
0.0012308548917756568
]
},
"weighted_residuals": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
-0.0019271248547578779,
-0.0014639076766966852,
-0.0010219953195989007,
-0.0006073835694317964,
-0.00022547799502969923,
0.00011897793971282766,
0.000421965958444126,
0.0006802464107904527,
0.0008914013559548906,
0.0010538667185455708,
0.001166953088967304,
0.0012308548917756568
]
},
"objective": 4.5251910554181355e-05,
"sse": 4.5251910554181355e-05,
"rss": 4.5251910554181355e-05,
"rmse": 0.0011059044305781892,
"residual_rmse": 0.0011059044305781892,
"response_rmse": 0.0010636248228837713,
"r_squared": 0.999999929022501,
"adjusted_r_squared": 0.9999999251858794,
"dof": 37.0,
"rank": 3.0,
"condition_number": 2.745963008186296,
"scaled_condition_number": 2.6198672829032033,
"covariance": {
"shape": [
3,
3
],
"dtype": "float64",
"values": [
1.2166754135703835e-08,
-6.69171477463711e-08,
7.042678836243952e-08,
-6.69171477463711e-08,
3.852793477534878e-07,
-4.347436826516459e-07,
7.042678836243952e-08,
-4.3474368265164585e-07,
5.685783242627918e-07
]
},
"standard_errors": {
"shape": [
3,
1
],
"dtype": "float64",
"values": [
0.00011030301054687417,
0.0006207087463162476
[…]Esito, anteprima
{
"xq": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
0.5,
0.6153846153846154,
0.7307692307692308,
0.8461538461538461,
0.9615384615384616,
1.076923076923077,
1.1923076923076923,
1.3076923076923077,
1.4230769230769231,
1.5384615384615385,
1.653846153846154,
1.7692307692307694
]
},
"yq": {
"shape": [
40,
1
],
"dtype": "float64",
"values": [
3.5043242525477787,
3.850504116946726,
4.196666900870928,
4.5428126043203845,
4.888941227295094,
5.235052769795058,
5.581147231820277,
5.9272246133707505,
6.273284914446478,
6.619328135047461,
6.965354275173697,
7.311363334825187
]
},
"degree": 2.0,
"derivative_order": 0.0
}Interrogazione del contratto · expression-name:polynomial_evaluate
Scarica lo script dell’esempio.
Operandi del caso, anteprima
[ "polynomial_evaluate" ]
Esito, anteprima
"GXTXT:ScriptBridge:RemoteError: NUMERIC_API_v1/operationByExpressionName: math.numeric API v1: unknown or ambiguous expression operation 'polynomial_evaluate'"