Revize d358b79e
Přidáno uživatelem Roman Kalivoda před téměř 4 roky(ů)
Server/ServerApp/Predictor/IPredictionController.cs | ||
---|---|---|
6 | 6 |
using System.Collections.Generic; |
7 | 7 |
using System.IO; |
8 | 8 |
using Microsoft.ML; |
9 |
using ServerApp.Connection.XMLProtocolHandler; |
|
9 | 10 |
using ServerApp.Parser.OutputInfo; |
10 | 11 |
|
11 | 12 |
namespace ServerApp.Predictor |
... | ... | |
34 | 35 |
void Load(string locationKey = null,string path = null); |
35 | 36 |
|
36 | 37 |
/// <summary> |
37 |
/// Predicts turnout level at given location at given time supposing given weather conditions.
|
|
38 |
/// Predicts turnout level at given time supposing given weather conditions. |
|
38 | 39 |
/// </summary> |
39 |
/// <param name="locationKey">String identifier of the location.</param> |
|
40 |
/// <param name="weather">Weather conditions.</param> |
|
41 |
/// <param name="dateTime">Date and time.</param> |
|
42 |
/// <returns></returns> |
|
43 |
IDataView Predict(string locationKey, WeatherInfo weather, DateTime dateTime); |
|
40 |
/// <param name="request">A request with time and weather information.</param> |
|
41 |
/// <returns>A server response filled with predictions.</returns> |
|
42 |
Response Predict(Request request); |
|
44 | 43 |
} |
45 | 44 |
} |
Také k dispozici: Unified diff
Re #8832 Label creation