iclassifier.cs
来自「利用人工智能算法对财务数据进行分析」· CS 代码 · 共 20 行
CS
20 行
namespace FinanceAI.AI
{
public interface IClassifier
{
// Classify the given sample return the category and add it to the sample
string Classify( ISample sample );
// Classify the instance as either belonging to the given category or not
bool Classify( ISample sample, string category );
// Train the classifier on a given set of training data
bool Train( ClassificationData trainingData );
// Check if the classifier has already been trained, at least once
bool IsTrained { get; }
// Test the classifer and obtain performance metrics
ClassifierPerformance Test( ClassificationData testData );
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?