摘要: p 是q 的充分条件,但不是必要条件(下图) 即由p可以推出q. p是q的必要条件,但不是充分条件。(见下图) 即由q可以推出p。 可以结合离散数学的 p >q, 那么 来理解。(这是同一行meoji)。 阅读全文
posted @ 2019-11-09 07:50 看星星的派大星 阅读(1958) 评论(0) 推荐(0)
摘要: # crawl a image import urllib.request response = urllib.request.urlopen("http://placekitten.com/200/300") #load html with open("C:/Users/Mike1/Desktop 阅读全文
posted @ 2019-11-03 09:56 看星星的派大星 阅读(191) 评论(0) 推荐(0)
摘要: import numpy as np import matplotlib.pyplot as plt import time import math import collections raw_data_x = [[3.39,2.33], [3.11,1.78], [1.34,3.36], [3.58,4.67], [2.28,2.86], [7.442,4.69], [5.74,3.53], 阅读全文
posted @ 2019-10-30 10:02 看星星的派大星 阅读(667) 评论(0) 推荐(0)
摘要: 有时 z = x + y 有时 0 = x + y 有时单独用f(x) 有时 z = f(x) 很容易分不清。 从集合角度,将f(x)看成映射 即从A集合到B集合的对应关系 这样f(x)可以单独使用,也可以 z = f(x) 但是B集合能不能是多元的还不知道,只见过一元的,但是A集合可以使多元的。 阅读全文
posted @ 2019-10-19 00:48 看星星的派大星 阅读(321) 评论(0) 推荐(0)
摘要: 机器学习的常用指标 precision : 在预测为正的样本中,预测正确的样本占所有预测为正的样本的比例 recall : 在预测为正样本中预测为正的样本,占所用真正的正样本的比例 accuracy : 预测正确的样本(预测正确的正样本及预测正确的负样本)占总样本的比例 T:true F: fals 阅读全文
posted @ 2019-09-29 15:37 看星星的派大星 阅读(115) 评论(0) 推荐(0)
摘要: sorry about having no annotation for every code if we run the programme in one IDLE, we will have error such as ConnectionRefusedError: [WinError 1006 阅读全文
posted @ 2019-09-28 00:05 看星星的派大星 阅读(304) 评论(0) 推荐(0)
摘要: the result we also creat a file in the window 阅读全文
posted @ 2019-09-25 09:29 看星星的派大星 阅读(208) 评论(0) 推荐(0)
摘要: the function sub_info is the function which is added based on the last experiment programme the result is we also change the print result what we need 阅读全文
posted @ 2019-09-24 23:55 看星星的派大星 阅读(205) 评论(0) 推荐(0)
摘要: another function to improve our experiment the result 阅读全文
posted @ 2019-09-24 21:15 看星星的派大星 阅读(182) 评论(0) 推荐(0)
摘要: the result include the stilmuli start time ,the suject response time , and the key subject pressed 阅读全文
posted @ 2019-09-24 11:39 看星星的派大星 阅读(318) 评论(0) 推荐(0)