()
| 68 | /** Helper class to handle loading training and test data. */ |
| 69 | export class BostonHousingDataset { |
| 70 | constructor() { |
| 71 | // Arrays to hold the data. |
| 72 | this.trainFeatures = null; |
| 73 | this.trainTarget = null; |
| 74 | this.testFeatures = null; |
| 75 | this.testTarget = null; |
| 76 | } |
| 77 | |
| 78 | get numFeatures() { |
| 79 | // If numFeatures is accessed before the data is loaded, raise an error. |
nothing calls this directly
no outgoing calls
no test coverage detected