API REFERENCE

RegressionOptions

The RegressionOptions type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export interface RegressionOptions {
  method?: RegressionMethod;
  dimensions?: readonly [string | number, string | number];
  order?: number;
  outputDimensions?: readonly [string, string];
}