随笔 - 119  文章 - 0  评论 - 5  阅读 - 57360
02 2022 档案
回归预测之SVR——运行+调优
摘要:需要注意的是“数据归一化处理”+“核函数的选择” from sklearn.svm import SVR # 特征数据归一化处理 from sklearn.preprocessing import StandardScaler stdScaler = StandardScaler() X_train 阅读全文
posted @ 2022-02-20 15:05 cookie的笔记簿 阅读(943) 评论(0) 推荐(0) 编辑
回归预测之XGBoost——运行+调优
摘要:import xgboost as xgb from xgboost import plot_importance from xgboost.sklearn import XGBClassifier,XGBRegressor xgb_reg = xgb.XGBRegressor(n_estimato 阅读全文
posted @ 2022-02-19 17:43 cookie的笔记簿 阅读(1444) 评论(0) 推荐(0) 编辑
回归预测之随机森林——运行+调优
摘要:from sklearn import metrics from sklearn.metrics import mean_squared_error from sklearn.model_selection import cross_val_score from sklearn.model_sele 阅读全文
posted @ 2022-02-18 20:27 cookie的笔记簿 阅读(2803) 评论(0) 推荐(0) 编辑
训练集测试集划分
摘要:正负样本切分 import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from collections import Counter import matplotlib.p 阅读全文
posted @ 2022-02-18 11:08 cookie的笔记簿 阅读(94) 评论(0) 推荐(0) 编辑
数据预处理——从mysql中读取数据
摘要:数据预处理——从mysql中读取数据 import numpy as np import pandas as pd import matplotlib.pyplot as plt import random plt.rcParams['font.sans-serif'] = 'Microsoft Y 阅读全文
posted @ 2022-02-18 10:59 cookie的笔记簿 阅读(152) 评论(0) 推荐(0) 编辑
excel去重
摘要:https://www.jianshu.com/p/45db064c7e0c 阅读全文
posted @ 2022-02-17 15:11 cookie的笔记簿 阅读(9) 评论(0) 推荐(0) 编辑
CSS过渡效果
摘要:CSS过渡效果 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta ht 阅读全文
posted @ 2022-02-13 11:12 cookie的笔记簿 阅读(170) 评论(0) 推荐(0) 编辑
子盒子宽度永远比父盒子小30像素
摘要:子盒子宽度永远比父盒子小30像素 calc(100% - 30px) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, i 阅读全文
posted @ 2022-02-13 10:56 cookie的笔记簿 阅读(88) 评论(0) 推荐(0) 编辑
把多个来源不同的表格合并成一个Excel表格
摘要:https://blog.csdn.net/weixin_39771969/article/details/111367012 把多个来源不同的表格合并成一个Excel表格 阅读全文
posted @ 2022-02-12 16:24 cookie的笔记簿 阅读(284) 评论(0) 推荐(0) 编辑
显示隐藏的遮罩层+图片模糊处理
摘要:显示隐藏的遮罩层 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link r 阅读全文
posted @ 2022-02-12 10:16 cookie的笔记簿 阅读(60) 评论(0) 推荐(0) 编辑
CSS3新增选择器——属性选择器+结构伪类选择器
摘要:属性选择器 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel= 阅读全文
posted @ 2022-02-11 10:12 cookie的笔记簿 阅读(67) 评论(0) 推荐(0) 编辑
CSS三角
摘要:CSS三角 .box1 { width: 0; height: 0; /* border: 10px solid pink; */ border-top: 10px solid pink; border-right: 10px solid red; border-bottom: 10px solid 阅读全文
posted @ 2022-02-09 11:00 cookie的笔记簿 阅读(48) 评论(0) 推荐(0) 编辑
字体图标的使用
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2022-02-09 10:14 cookie的笔记簿 阅读(35) 评论(0) 推荐(0) 编辑
精灵图!
摘要:精灵图 用ps测量的像素值才对得上。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0 阅读全文
posted @ 2022-02-07 11:14 cookie的笔记簿 阅读(42) 评论(0) 推荐(0) 编辑
隐藏层
摘要:隐藏层 <title>仿土豆网显示隐藏遮罩案例</title> <style> .tudou { position: relative; width: 444px; height: 320px; background-color: pink; margin: 30px auto; } .tudou 阅读全文
posted @ 2022-02-07 10:42 cookie的笔记簿 阅读(33) 评论(0) 推荐(0) 编辑
定位的特殊性
摘要:浮动是用来做文字环绕的 <style> .box { /* 1.浮动的元素不会压住下面标准流的文字 */ float: left; /* 2. 绝对定位(固定定位) 会压住下面标准流所有的内容。 */ width: 150px; height: 150px; background-color: pi 阅读全文
posted @ 2022-02-07 10:39 cookie的笔记簿 阅读(46) 评论(0) 推荐(0) 编辑
相对定位+绝对定位+固定定位+粘性定位
摘要:相对定位 <title>相对定位</title> <style> .box1 { position: relative; top: 100px; left: 100px; width: 200px; height: 200px; background-color: pink; } .box2 { w 阅读全文
posted @ 2022-02-06 16:27 cookie的笔记簿 阅读(60) 评论(0) 推荐(0) 编辑
为什么要清除浮动+如何清除浮动
摘要:为什么要清除浮动 浮动是什么在这里不做讲解。 父元素里面包含两个浮动的子元素,下面设置了一个footer。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-02-06 09:26 cookie的笔记簿 阅读(57) 评论(0) 推荐(0) 编辑
盒子模型:外边距合并+嵌套块级元素垂直外边距塌陷
摘要:问题一:外边距合并 <title>外边距合并-相邻块级元素垂直外边距合并</title> <style> .damao, .ermao { width: 200px; height: 200px; background-color: pink; } .damao { margin-bottom: 1 阅读全文
posted @ 2022-02-06 09:14 cookie的笔记簿 阅读(88) 评论(0) 推荐(0) 编辑
web元素居中设置
摘要:水平居中 a.文字 text-align b.块级元素:首先块级元素需要设定了width margin: 0 auto; 垂直居中 line-height与height相等 阅读全文
posted @ 2022-02-04 16:53 cookie的笔记簿 阅读(139) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示