码迷,mamicode.com
首页 >  
搜索关键字:nes    ( 3286个结果
Python Numpy中数据的常用的保存与读取方法
在经常性读取大量的数值文件时(比如深度学习训练数据),可以考虑现将数据存储为Numpy格式,然后直接使用Numpy去读取,速度相比为转化前快很多. 下面就常用的保存数据到二进制文件和保存数据到文本文件进行介绍: 1.保存为二进制文件(.npy/.npz) numpy.save 保存一个数组到一个二进 ...
分类:编程语言   时间:2020-01-19 22:18:38    阅读次数:105
oracle 修改端口
cp /opt/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora /opt/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora 然后在服务器里面用sys登 ...
分类:数据库   时间:2020-01-19 19:31:46    阅读次数:124
[TypeScript] Decorator-based Validation using Class Validator
For example, we have a interface: We are using it with NestJS backend, in order to validate the request with meanful runtime error message, we can use ...
分类:其他好文   时间:2020-01-19 19:03:43    阅读次数:74
读取txt文件.py
"""read():读取整个文件。readline():读取一行数据。readlines():读取所有行的数据。"""user_file = open("user_info","r")lines = user_file.readlines()user_file.close()for line in ...
分类:其他好文   时间:2020-01-19 00:32:37    阅读次数:153
java中将RFC1123日期时间格式化
JDK8新的日期时间类转换方法: 参考来源:How to Convert RFC-1123 date-time formatter, to local time ...
分类:编程语言   时间:2020-01-18 21:40:01    阅读次数:255
A. Two distinct points
A. Two distinct points You are given two segments l1;r1 and l2;r2 on the xx-axis. It is guaranteed that l1<r1l1<r1 and l2<r2l2<r2. Segments may inters ...
分类:其他好文   时间:2020-01-18 13:03:13    阅读次数:98
mysql 查询关联表 左外查询 排除相同的部分
1 查询关联加条件查询: 2 $listQuery = BusinessOrderModel::whereIn('business_order.bms_id', $userinfo['bms_id_arr'])->whereIn('business_order.status',$status)->l ...
分类:数据库   时间:2020-01-17 19:10:33    阅读次数:138
Android中Json数据去掉斜杠
数据如下: [ "{\"STCD\":\"172017156159\",\"ItemID\":\"0003002\",\"TM\":\"2020-01-16 19:20:10\",\"NFOINDEX\":0,\"DATAVALUE\":0,\"DATATYPE\":0}", "{\"STCD\": ...
分类:移动开发   时间:2020-01-17 13:40:40    阅读次数:286
writing clean code with modern java
https://www.youtube.com/watch?v=uEHJ5CHaF08 主要顺便练练英文 YouTube上真的很多超赞的视频,有关语言特性的,架构的,代码整洁的...最近一直在每天花一个小时左右看英文相关的speak,然后基本每天会看一下medium的文章,练英文。 1.接口的dea ...
分类:编程语言   时间:2020-01-16 23:55:19    阅读次数:142
线性回归-OLS法
本段代码可实现OLS法的线性回归分析,并可对回归系数做出分析 1.代码 %%OLS法下的线性回归 function prodict = Linear_Regression(X,Y) x = sym('x'); n = max(size(X)); %%定义画图窗格属性 h = figure; set( ...
分类:其他好文   时间:2020-01-16 18:34:05    阅读次数:107
3286条   上一页 1 ... 42 43 44 45 46 ... 329 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!