2.5. copro.models.predictive

copro.models.predictive(X, clf, scaler, config)[source]

Predictive model to use the already fitted classifier to make annual projections for the projection period. As other models, it reads data which are then scaled and used in conjuction with the classifier to project conflict risk.

Parameters
  • X (array) – array containing the variable values plus unique identifer and geometry information.

  • clf (classifier) – the fitted specified classifier instance.

  • scaler (scaler) – the fitted specified scaling method instance.

  • config (ConfigParser-object) – object containing the parsed configuration-settings of the model for a projection run.

Returns

containing model output on polygon-basis.

Return type

datatrame