Options
All
  • Public
  • Public/Protected
  • All
Menu

Maps sentences to labels. Sentences are the posts/messages and labels a number between 0 and 1, representing non-spam and spam respectively.

The indexes between the two arrays should correspond.

internal

Hierarchy

  • SentenceMapping

Index

Properties

Properties

Readonly labels

labels: number[]

An array of labels corresponding to the sentences.

These should be a value between 0 and 1, representing non-spam and spam respectively.

Readonly sentences

sentences: string[]

An array of sentences.

Generated using TypeDoc