上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 学习模型的泛化能力需要进行评估,现将主要的评估方法和性能度量总结如下 评估方法 留出法(hold out) 将数据集D划分为互斥的两部分,一个作为训练集S,另一个作为测试集T,其中T的规模大约为D的1/5到1/3。该法的优点在于足够明了,缺点在于若令S较大,T较小,则使用T进行测试的结果可能不够准确 阅读全文
posted @ 2018-08-05 07:04 会长 阅读(464) 评论(0) 推荐(1) 编辑
摘要: 周末去了两天国家图书馆,写一下感受。 宏大,壮观。不愧是国家级图书馆,分南区、北区和博物馆,我去看数学书,去的是北区,北区一共4层,每层都有至少上百座位,有的位置配有电脑,阅读环境非常的好; 抢位置。我早上9点10几分去的时候有很多的空位置,中午吃了个饭两点再去已经没有位置,坐了窗台上看了两个小时书 阅读全文
posted @ 2018-07-16 08:51 会长 阅读(282) 评论(2) 推荐(0) 编辑
摘要: 丁酉年夏,鹏镇守武汉。数月,政通人和,百废俱兴,乃重修代码规范,属予作文以记之。予观博客园胜状,驼峰命名,强制注释,迫之芸芸码士,俱迂腐巨细之论,此前人之述备矣。然,求同存异,团队建设,收买人心,论之甚少,此大道也,得之可平天下 阅读全文
posted @ 2017-07-25 20:28 会长 阅读(16505) 评论(53) 推荐(71) 编辑
摘要: There are two types of Execptions which can be throwed from the WCF service. They are Application excepiton and Infrastructure exception . Handle Appl 阅读全文
posted @ 2017-06-03 09:37 会长 阅读(478) 评论(5) 推荐(1) 编辑
摘要: 示例代码下载地址:[WCFDemo1Day][1] 概述 客户端向WCF服务发出请求后,服务端会实例化一个Service对象(实现了契约接口的对象)用来处理请求,实例化Service对象以及维护其生命周期的方式在WCF中共有三种不同的类型,分别是: Per Call Per Session Sing 阅读全文
posted @ 2017-06-02 08:19 会长 阅读(251) 评论(0) 推荐(0) 编辑
摘要: This is a very simple demo which can help you create a wcf applition quickly. Create a Solution Open Vistual Stuido and create a solution named WCFDem 阅读全文
posted @ 2017-06-02 08:14 会长 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 开放封闭原则 基本描述 一个设计良好的应用程序应该做到对扩展开放,对修改封闭。换言之:当系统需要添加一个新的模块时,尽可能少地修改已有的代码(对修改封闭),通过添加新的类型(class)以增加新的功能(对扩展开放)。 举例说明 假设要开发一个二目运算类Calculater,其不考虑扩展性的设计如下: 阅读全文
posted @ 2017-05-30 17:22 会长 阅读(338) 评论(0) 推荐(0) 编辑
摘要: The default Way to handle concurrency of Entity Framework is using optimistic concurrency . When two clinets update the same entity, one of theirs dat 阅读全文
posted @ 2017-05-27 09:04 会长 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Complex types are classes that map to a subset of columns of a table.They don't contains key. They are the Value Objects . For example, you have a ent 阅读全文
posted @ 2017-05-16 09:05 会长 阅读(427) 评论(2) 推荐(0) 编辑
摘要: Sometimes, you need to find some data in an existing context instead of the database. By befault, Entity Framework always find data in database. If yo 阅读全文
posted @ 2017-05-15 09:16 会长 阅读(181) 评论(2) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页