BotSharp/src/Plugins/BotSharp.Plugin.RoutingSpeeder/Settings/classifierSetting.cs

19 lines
433 B
C#
Raw Normal View History

2023-08-31 14:52:09 +00:00
using System;
using System.Collections.Generic;
using System.Text;
namespace BotSharp.Plugin.RoutingSpeeder.Settings;
public class ClassifierSetting
2023-08-31 14:52:09 +00:00
{
public Dictionary<string, float> LabelMappingDict { get; set; } = new Dictionary<string, float>()
2023-08-31 14:52:09 +00:00
{
{"goodbye", 0f},
{"greeting", 1f},
{"other", 2f}
2023-08-31 14:52:09 +00:00
};
2023-08-31 22:00:31 +00:00
public string RAW_DATA_DIR { get; set; } = "raw_data";
public string MODEL_DIR { get; set; } = "models";
2023-08-31 14:52:09 +00:00
}