Part 1. 重要的区别: Template based vs. specific Directed vs. undirected Generative vs. discriminative 一.Template based vs. specific Template based: 较少的参数种类,feature会很多,要做feature engineering 比如image segmentation Specific: 较多的参数种类 比如medical diagn…
目录 Representation Feature Engineering Mapping Raw Data to Features Mapping numeric values Mapping categorical values Sparse Representation Glossay Qualities of Good Features Avoid rarely used discrete feature values Prefer clear and obvious meanings…
1.变量 1.1 声明变量 使用var关键字可以创建一个指定类型的变量: var i int = 0 var i = 0 var i int 以上三个表达式均是合法的,第三个表达式会将i初始化为int类型的零值,0:如果i是bool类型,则为false:i是float64类型,则为0.0:i为string类型,则为"":i为interface类型,则为nil:i为引用类型,则为nil:如果i是struct,则是将struct中所有的字段初始化为对应类型的零值. 可以在同一条语句中声明多…