Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MetricDataPoint

import type { MetricDataPoint } from "https://aws-api.deno.dev/v0.3/services/frauddetector.ts?docs=full";

Model performance metrics data points.

interface MetricDataPoint {
fpr?: number | null;
precision?: number | null;
threshold?: number | null;
tpr?: number | null;
}

§Properties

§
fpr?: number | null
[src]

The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.

§
precision?: number | null
[src]

The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.

§
threshold?: number | null
[src]

The model threshold that specifies an acceptable fraud capture rate. For example, a threshold of 500 means any model score 500 or above is labeled as fraud.

§
tpr?: number | null
[src]

The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.