private static void Traning() { Training = new StreamWriter("Training.log"); TraningDataset.InitContract(); TraningDataset.InitStockChange(); TraningDataset.InitIncreaseStock(); ContractTraning.Train(); Training.Close(); }
private static void Traning() { TraningDataset.InitContract(); TraningDataset.InitStockChange(); TraningDataset.InitReorganization(); Training = new StreamWriter("Training.log"); //ContractTraning.Train(); //ReOrganizationTraning.Train(); Training.Close(); }
static void Main(string[] args) { //生成PDF的TXT文件的批处理命令 //PDFToTXT.GetBatchFile(); //初始化 Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); BussinessLogic.LoadCompanyName(@"Resources\FDDC_announcements_company_name_20180531.json"); TraningDataset.InitContract(); TraningDataset.InitStockChange(); TraningDataset.InitIncreaseStock(); ContractTraning.TraningMaxLenth(); ContractTraning.EntityWordPerperty(); Training.Close(); UT(); Extract(); Logger.Close(); Score.Close(); }