https://blog.csdn.net/qappleh/article/details/88708341?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-5 1 watch:{ 2 detailsList:function(){ ...
分类:
Web程序 时间:
2020-07-02 12:00:16
阅读次数:
477
推荐系统的个性化排名 Personalized Ranking for Recommender Systems 在前几节中,只考虑了明确的反馈,并根据观察到的评分对模型进行了训练和测试。这种方法有两个缺点:第一,大多数反馈不是显式的,而是在实际场景中隐含的,并且显式反馈的收集成本可能更高。第二,完全 ...
分类:
其他好文 时间:
2020-07-02 09:31:15
阅读次数:
50
是因为服务器系统为64位,但是交叉编译工具链是32位。 重装glibc yum install glibc.i686 遇到报错 There was a problem importing one of the Python modulesrequired to run yum. The error ...
分类:
系统相关 时间:
2020-07-01 20:42:43
阅读次数:
89
不知道怎么起名字的时候,可以看一下别人是怎么写的~ CODELF网址:https://unbug.github.io/codelf/ ...
分类:
Web程序 时间:
2020-07-01 15:54:29
阅读次数:
143
简述python中functools.wrapper() 首先对于最简单的函数: def a(): pass if __name__ == '__main__': print(a.__name__) 输出结果: a 然后稍微复杂点: def a(func): def wrapper() return ...
分类:
移动开发 时间:
2020-06-30 20:30:36
阅读次数:
105
剑指 Offer 09. 用两个栈实现队列 题目来源:力扣(LeetCode)https://leetcode-cn.com/problems/yong-liang-ge-zhan-shi-xian-dui-lie-lcof 题目 用两个栈实现一个队列。队列的声明如下,请实现它的两个函数 appen ...
分类:
编程语言 时间:
2020-06-30 20:25:53
阅读次数:
64
基本方法又可以分为三种:抽象方法(Abstract Method)、具体方法(Concrete Method)和钩子方法(Hook Method)。 这是我在《java与模式》书里看到的一种说法,觉得很新鲜,因为在我的印象中没有以这种方式来对方法分类,可能这也就是在设计模式中的叫法。 这三种方法也是 ...
分类:
其他好文 时间:
2020-06-30 17:34:50
阅读次数:
65
好处: 数据与测试脚本分离 通过使用数据驱动测试,来验证多组数据测试场景 1、安装 pip install ddt 2、引包 from ddt import ddt 常用 ddt,data,unpack 3、@data test_data1 = [[1,3],[4,5,6]] test_data2 ...
分类:
其他好文 时间:
2020-06-30 15:59:20
阅读次数:
126
前言 对于新手来说,iOS的几种跳转方式还挺繁琐的,下面就来一一介绍 1.不带任何布局文件的viewController之间的跳转 MyViewController *vc = [[MyViewController alloc]init]; [self.navigationController pu ...
分类:
移动开发 时间:
2020-06-30 12:53:28
阅读次数:
94
1、纯代码创建根视图控制器,在Appdelegate中的didFinishLaunchingWithOptions self.window =[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds]; //设置窗口根窗口控制器 self ...
分类:
移动开发 时间:
2020-06-30 12:50:21
阅读次数:
161