Propiedades de regressionnode
Última actualización: 12 feb 2025
La regresión lineal es una técnica de estadístico común utilizada para resumir datos y realizar predicciones ajustando una superficie o línea recta que minimice las discrepancias existentes entre los valores de salida reales y los pronosticados.
EjemploCopy link to section
Copy link to section
node = stream.create("regression", "My node")
# "Fields" tab
node.setPropertyValue("custom_fields", True)
node.setPropertyValue("target", "Age")
node.setPropertyValue("inputs", ["Na", "K"])
node.setPropertyValue("partition", "Test")
node.setPropertyValue("use_weight", True)
node.setPropertyValue("weight_field", "Drug")
# "Model" tab
node.setPropertyValue("use_model_name", True)
node.setPropertyValue("model_name", "Regression Age")
node.setPropertyValue("use_partitioned_data", True)
node.setPropertyValue("method", "Stepwise")
node.setPropertyValue("include_constant", False)
# "Expert" tab
node.setPropertyValue("mode", "Expert")
node.setPropertyValue("complete_records", False)
node.setPropertyValue("tolerance", "1.0E-3")
# "Stepping..." section
node.setPropertyValue("stepping_method", "Probability")
node.setPropertyValue("probability_entry", 0.77)
node.setPropertyValue("probability_removal", 0.88)
node.setPropertyValue("F_value_entry", 7.0)
node.setPropertyValue("F_value_removal", 8.0)
# "Output..." section
node.setPropertyValue("model_fit", True)
node.setPropertyValue("r_squared_change", True)
node.setPropertyValue("selection_criteria", True)
node.setPropertyValue("descriptives", True)
node.setPropertyValue("p_correlations", True)
node.setPropertyValue("collinearity_diagnostics", True)
node.setPropertyValue("confidence_interval", True)
node.setPropertyValue("covariance_matrix", True)
node.setPropertyValue("durbin_watson", True)
Copy to clipboard Show more
Propiedades de
|
Valores | Descripción de la propiedad |
---|---|---|
|
campo | Los modelos de regresión requieren un único campo objetivo y uno o más campos de entrada. También se puede especificar un campo de ponderación. Consulte el tema Propiedades de nodo de modelado común para obtener más información. |
|
|
|
|
distintivo | |
|
distintivo | |
|
campo | |
|
|
|
|
distintivo | |
|
|
Utilice comillas dobles para los argumentos. |
|
|
: utilizar probabilidad de F : utilizar valor F |
|
número | |
|
número | |
|
número | |
|
número | |
|
distintivo | |
|
distintivo | |
|
distintivo | |
|
distintivo | |
|
distintivo | |
|
distintivo | |
|
distintivo | |
|
distintivo | |
|
distintivo | |
|
distintivo | |
|
distintivo | |
|
distintivo | |
|
Boolean | Estadísticos para los residuos (o diferencias entre los valores predichos y los reales). |
¿Fue útil el tema?
0/1000