observation-js Documentation - v1.16.0
    Preparing search index...

    Interface NiaPrediction

    A single prediction returned by NIA.

    interface NiaPrediction {
        probability: number;
        taxon: { id: string; name: string };
        morphs?: NiaMorph[];
    }
    Index

    Properties

    probability: number

    The probability of this prediction.

    taxon: { id: string; name: string }

    The predicted taxon.

    Type Declaration

    • id: string

      The taxon id, e.g. "8807@WRN".

    • name: string

      The scientific name of the taxon.

    morphs?: NiaMorph[]

    Optional per-prediction morph predictions, for certain species.