上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 178 下一页
  2021年7月18日
摘要: >>> import numpy as np >>> a = np.array([[1,2],[3,4]]) >>> b=a.tolist() >>> b [[1, 2], [3, 4]] 阅读全文
posted @ 2021-07-18 11:59 一杯明月 阅读(373) 评论(0) 推荐(0)
  2021年7月17日
摘要: 作者:王峰链接:https://www.zhihu.com/question/60751553/answer/1986650670来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 logit原本是一个函数,它是sigmoid函数(也叫标准logistic函数) 的反函数 阅读全文
posted @ 2021-07-17 12:47 一杯明月 阅读(1513) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/47172eb86b39 cross_entropy 交叉熵是深度学习中常用的一个概念,一般用来求目标与预测值之间的差距。 在介绍softmax_cross_entropy,binary_cross_entropy、sigmoid_cross_en 阅读全文
posted @ 2021-07-17 00:34 一杯明月 阅读(501) 评论(0) 推荐(0)
  2021年7月16日
摘要: https://www.zhihu.com/question/26895086 阅读全文
posted @ 2021-07-16 23:47 一杯明月 阅读(153) 评论(0) 推荐(0)
摘要: import os os.path.getsize(fullpathhere) > 0 >>> import os >>> os.stat("file").st_size == 0 True 阅读全文
posted @ 2021-07-16 09:56 一杯明月 阅读(408) 评论(0) 推荐(0)
  2021年7月6日
摘要: python 发送邮件需要使用 smtplib email 这两个官方库。 import smtplib from email.mime.text import MIMEText from email.header import Header 1、发送普通的邮件 实现步骤: 第一步:创建一个 SMT 阅读全文
posted @ 2021-07-06 18:31 一杯明月 阅读(664) 评论(0) 推荐(0)
  2021年7月3日
摘要: 在循环里面加上一个判断就行了,然后在print(pause")这一句打个断点,之后调试运行即可。 for i, data_label_filename in enumerate(data_label_files): print(data_label_filename) if data_label_f 阅读全文
posted @ 2021-07-03 13:58 一杯明月 阅读(1088) 评论(0) 推荐(0)
  2021年6月30日
摘要: https://www.zhihu.com/question/20876219/answer/1960699053 阅读全文
posted @ 2021-06-30 12:21 一杯明月 阅读(51) 评论(0) 推荐(0)
  2021年6月25日
摘要: http://www.nowamagic.net/academy/detail/1302446 range 前面小节已经说明了,range([start,] stop[, step]),根据start与stop指定的范围以及step设定的步长,生成一个序列。 比如: 1 >>> range(5) 2 阅读全文
posted @ 2021-06-25 21:29 一杯明月 阅读(103) 评论(0) 推荐(0)
摘要: clc;clear;close all; structuralModel = createpde('structural','static-solid'); gm = multicuboid(1,1,1); structuralModel.Geometry = gm; figure(1);hold 阅读全文
posted @ 2021-06-25 11:02 一杯明月 阅读(2646) 评论(0) 推荐(0)
上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 178 下一页