1 import pandas 2 excel=pandas.read_excel(r'F:\pandas练习\成绩.xlsx',index_col='id',sheet_name='Sheet1') 3 temp=excel[['score1','score2']] 4 5 row_sum=tem ...
分类:
其他好文 时间:
2020-06-12 14:30:37
阅读次数:
47
一、top命令 top命令是Linux下常用的性能分析工具,能够实时显示系统中各个进程的资源占用状况,类似于Windows的任务管理器。下面详细介绍它的使用方法。 top - 01:06:48 up 1:22, 1 user, load average: 0.06, 0.60, 0.48 Tasks ...
分类:
系统相关 时间:
2020-06-12 12:51:30
阅读次数:
66
CLASS torch.nn.MSELoss(size_average=None, reduce=None, reduction='mean') Creates a criterion that measures the mean squared error (squared L2 norm) be ...
分类:
其他好文 时间:
2020-06-07 14:51:25
阅读次数:
112
[root@node0 ~]# top 第一行,系统运行时长和平均负载,与uptime输出相同 top - 22:04:46 up 6:27, 2 users, load average: 0.07, 0.02, 0.00 22:04:46 系统当前时间 up 6:27 系统存活时间 2 users ...
分类:
系统相关 时间:
2020-06-05 15:24:27
阅读次数:
105
「MoreThanJava」 宣扬的是 「学习,不止 CODE」,本系列 Java 基础教程是自己在结合各方面的知识之后,对 Java 基础的一个总回顾,旨在 「帮助新朋友快速高质量的学习」。 当然 不论新老朋友 我相信您都可以 从中获益。如果觉得 「不错」 的朋友,欢迎 「关注 + 留言 + 分享 ...
分类:
编程语言 时间:
2020-06-04 19:46:03
阅读次数:
97
Java Program to Find Largest Element of an array In this program, you'll learn to find the largest element in an array using a for loop in Java. Examp ...
分类:
其他好文 时间:
2020-06-03 00:32:38
阅读次数:
55
本文以在SpringBoot下集成ElasticJob的方式对其进行浅析,仅仅是简单使用,不涉及源码级别研究。 事先必备: 注册中心——zookeeper 简略结构: 代码目录结构: ├─.idea └─src └─main ├─java │ └─com │ └─sakura │ ├─configu ...
分类:
编程语言 时间:
2020-05-22 19:06:43
阅读次数:
119
博客链接: 二叉树的层平均值 题目链接:https://leetcode-cn.com/problems/average-of-levels-in-binary-tree/ 给定一个非空二叉树, 返回一个由每层节点平均值组成的数组. 示例 1: 输入: 3 / \ 9 20 / \ 15 7输出: ...
分类:
其他好文 时间:
2020-05-22 17:15:04
阅读次数:
60
https://zhuanlan.zhihu.com/p/30953081 macro是宏平均,就是先计算P1 R1 P2 R2 ...然后得到Pmean Rmean, 再计算Fmacro, 而micro是微平均,是P=准确率=判对的/全部,而R=召回的/全部 Pmacro=Rmacro=Accur ...
分类:
系统相关 时间:
2020-05-21 17:47:32
阅读次数:
88
题1:一棵树每层节点的平均数(Average of Levels in Binary Tree) LeetCode题号:637 难度:Easy 链接:https://leetcode-cn.com/problems/average-of-levels-in-binary-tree/ 题目描述: 给定 ...
分类:
其他好文 时间:
2020-05-21 00:32:36
阅读次数:
62