()
| 27 | /** Helper class to handle loading training and test data. */ |
| 28 | export class WebsitePhishingDataset { |
| 29 | constructor() { |
| 30 | this.dataset = null; |
| 31 | this.trainSize = 0; |
| 32 | this.testSize = 0; |
| 33 | this.trainBatchIndex = 0; |
| 34 | this.testBatchIndex = 0; |
| 35 | |
| 36 | this.NUM_FEATURES = 30; |
| 37 | this.NUM_CLASSES = 2; |
| 38 | } |
| 39 | |
| 40 | get numFeatures() { |
| 41 | return this.NUM_FEATURES; |
nothing calls this directly
no outgoing calls
no test coverage detected