博主是高中生,前几天学到了初级的线性回归方程。总用卡西欧敲然后带入公式实在有些麻烦。于是心血来潮用Python实现了一下~ 原理:求线性回归方程: 求决定系数: 代码: # -*- coding:UTF-8 -*- import numpy as np #输入开始 li = list(input(" ...
分类:
编程语言 时间:
2020-05-09 21:44:22
阅读次数:
75
1、HTML代码 <li onclick="changeTab(this)">tab1</li> <li onclick="changeTab(this)">tab2</li> <li onclick="changeTab(this)">tab3</li> 2、CSS代码 .active { bor ...
分类:
编程语言 时间:
2020-05-09 18:45:43
阅读次数:
71
1. 列表标签 去掉列表默认的样式: 1.1 有 / 无序列表 | 标签名 | 定义 | 说明 | | | : : | : : | | \\ | 无序标签 | 没有顺序,里面只能包含li | | \\ | 有序标签 | 有顺序,里面只能包含li | 1.2 自定义列表 适用于对术语或名词进行解释和描 ...
分类:
其他好文 时间:
2020-05-08 18:03:04
阅读次数:
57
items.py class LianhezaobaospyderItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() # pass body=scrapy.Field() li ...
分类:
编程语言 时间:
2020-05-07 18:11:01
阅读次数:
96
https://leetcode-cn.com/problems/minimum-depth-of-binary-tree/solution/li-jie-zhe-dao-ti-de-jie-shu-tiao-jian-by-user7208/ 思路:有个特殊情况,比如树是1,2.这样的话,根节点为 ...
分类:
其他好文 时间:
2020-05-07 10:48:03
阅读次数:
60
简单,就直接上代码: <div style="text-align: center; font-size:20px; margin-bottom:0px; margin-top:0px; opacity:0.5; ">欢迎来到Panda.Li个人博客!</div> 注意:代码需要放在“页首 “HTM ...
分类:
其他好文 时间:
2020-05-07 01:09:03
阅读次数:
84
1、HTML <div id="searchBar"> <ul class="items_filter" :class="searchBarFixed == true ? 'isFixed' :''"> <li><span class="all">综合</span></li> <li><span c ...
分类:
移动开发 时间:
2020-05-05 18:25:53
阅读次数:
211
{% for item in data %} <li {% if item.class %} class="{{ item.class }}" {% endif %}> <a href="{{ item.url }}" > {{ item.name }} </a> </li> {% endfor % ...
分类:
其他好文 时间:
2020-05-04 13:22:01
阅读次数:
41
期刊:IEEE SIGNAL PROCESSING LETTERS 作者:Weixuan Tang, Shunquan Tan, Bin Li, Jiwu Huang Notes :早期将GAN用于steganography的众多算法中,个人认为这篇2017年的论文是把steganography的逻 ...
分类:
Web程序 时间:
2020-05-03 20:24:53
阅读次数:
129
问题描述:编写一个 SQL 查询,获取 Employee 表中第二高的薪水(Salary),如果不存在第二高的薪水,那么查询应返回 null 。 中间过程: 第一次: select IFNULL((select Salary from Employee order by Salary desc li ...
分类:
数据库 时间:
2020-05-03 11:04:22
阅读次数:
67