mirror of
https://github.com/NecroticBamboo/DeepTrace.git
synced 2025-12-21 11:21:51 +00:00
13 lines
360 B
C#
13 lines
360 B
C#
using DeepTrace.Data;
|
|
using PrometheusAPI;
|
|
|
|
namespace DeepTrace.ML;
|
|
|
|
public interface IMLProcessor
|
|
{
|
|
Task<MLEvaluationMetrics> Train(ModelDefinition modelDef, Action<string> log);
|
|
byte[] Export();
|
|
void Import(byte[] data);
|
|
Task<Prediction> Predict(TrainedModelDefinition trainedModel, ModelDefinition model, List<TimeSeriesDataSet> data);
|
|
}
|