Algorithm 3 Train HSVR |
Input: scales (output of Algorithm 1) 1: 2: 3: model = # comment: empty list to hold the SVR model at each layer 4: # comment: number of HSVR layers 5: for i in range(0, m): 6: = scales[i] 7: 8: = fitted SVR on with parameters , and tolerance 9: predictions = .predict(x) 10: 11: model.append() 12: return: model |