Changeset 1006

Show
Ignore:
Timestamp:
07/13/12 16:17:54 (10 months ago)
Author:
jjr8
Message:

Continued to overhaul the predictive modeling tools.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MGET/Branches/Jason/PythonPackage/src/GeoEco/Statistics/Modeling.py

    r1005 r1006  
    22072207 
    22082208AddMethodMetadata(GLM.PredictFromArcGISTable, 
    2209     shortDescription=_(u'Given a fitted generalized linear model (GLM) and a table containing fields for the predictor variables, this tool predicts the response variable for each row of the table.'), 
     2209    shortDescription=_(u'Given a fitted generalized linear model (GLM), this tool predicts the response variable for each row of a table.'), 
     2210    longDescription=_( 
     2211u"""If a table is not provided, the prediction will be done on the 
     2212training data used to fit the model. 
     2213 
     2214On completion, the tool outputs statistics that summarize how well the 
     2215model's predictions match the observed values of the response 
     2216variable, unless a table is provided that does not contain the 
     2217observed values of the response variable."""), 
    22102218    isExposedToPythonCallers=True, 
    22112219    isExposedByCOM=True, 
     
    22302238containing the data for which the prediction should be done. 
    22312239 
    2232 The table must have a field for each predictor variable in the model 
    2233 and one or both of the following: 
     2240This parameter is optional. If not provided, the prediction will be 
     2241done on the training data used to fit the model. 
     2242 
     2243If a table is provided, it must have a field for each predictor 
     2244variable in the model and one or both of the following: 
    22342245 
    22352246* A field containing the actual (observed) values of the response 
     
    31693180 
    31703181AddMethodMetadata(GAM.PredictFromArcGISTable, 
    3171     shortDescription=_(u'Given a fitted generalized additive model (GAM) and a table containing fields for the predictor variables, this tool predicts the response variable for each row of the table.'), 
     3182    shortDescription=_(u'Given a fitted generalized additive model (GAM), this tool predicts the response variable for each row of a table.'), 
     3183    longDescription=_( 
     3184u"""If a table is not provided, the prediction will be done on the 
     3185training data used to fit the model. 
     3186 
     3187On completion, the tool outputs statistics that summarize how well the 
     3188model's predictions match the observed values of the response 
     3189variable, unless a table is provided that does not contain the 
     3190observed values of the response variable."""), 
    31723191    isExposedToPythonCallers=True, 
    31733192    isExposedByCOM=True, 
     
    39663985 
    39673986AddMethodMetadata(TreeModel.PredictFromArcGISTable, 
    3968     shortDescription=_(u'Given a fitted tree model and a table containing fields for the predictor variables, this tool predicts the response variable for each row of the table.'), 
     3987    shortDescription=_(u'Given a fitted tree model, this tool predicts the response variable for each row of a table.'), 
     3988    longDescription=_( 
     3989u"""If a table is not provided, the prediction will be done on the 
     3990training data used to fit the model. 
     3991 
     3992On completion, the tool outputs statistics that summarize how well the 
     3993model's predictions match the observed values of the response 
     3994variable, unless a table is provided that does not contain the 
     3995observed values of the response variable."""), 
    39693996    isExposedToPythonCallers=True, 
    39703997    isExposedByCOM=True, 
     
    47184745 
    47194746AddMethodMetadata(RandomForestModel.PredictFromArcGISTable, 
    4720     shortDescription=_(u'Given a fitted random forest model and a table containing fields for the predictor variables, this tool predicts the response variable for each row of the table.'), 
     4747    shortDescription=_(u'Given a random forest model, this tool predicts the response variable for each row of a table.'), 
     4748    longDescription=_( 
     4749u"""If a table is not provided, the prediction will be done on the 
     4750training data used to fit the model. 
     4751 
     4752On completion, the tool outputs statistics that summarize how well the 
     4753model's predictions match the observed values of the response 
     4754variable, unless a table is provided that does not contain the 
     4755observed values of the response variable."""), 
    47214756    isExposedToPythonCallers=True, 
    47224757    isExposedByCOM=True,