//! The interface every model implements, whatever its engine.
use Result;
use PredictiveDistribution;
use crateDesign;
/// A model specification that can be fitted: a GLM, a GAM, a network.
///
/// `fit` takes the design (with offset and weights) and the response, and
/// returns the fitted model. Specs are cheap values; fitting does the work.
/// A fitted model: predictions, joint predictive distributions, scores.