摘要:
HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel=" 阅读全文
摘要:
HTML+JS <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="../css/index.css"> <title>使用js和定位排版创建内联广告</title> 阅读全文
摘要:
#include <stdio.h> #include <iostream> using namespace std; typedef char TElemType; typedef void Status; typedef int ElemType; typedef struct BiTNode 阅读全文
摘要:
c代码 #include <stdio.h> #define MaxSize 128 #define M 6 #define N 7 #define ERROR 0 #define OK 1 typedef int Status; typedef struct { int i; //行号 int j 阅读全文
摘要:
html部分 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>使用绝对定位和列表创建二级菜单</title> <link type="text/css" href="css/menu.css" rel="st 阅读全文
摘要:
HTML部分 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://w 阅读全文
摘要:
flume前置 flume是一个日志收集系统,可以从各种地方收集数据来存放到指定的地方 flume有sources、channels、sinks,分别是数据源,管道,存放数据的位置,配置好这三个就能开始收集数据了 flume的启动命令bin/flume agent -n a1 -f 自己写的配置文件 阅读全文
摘要:
直接上代码 # 导入相关包 from sklearn.cluster import KMeans from sklearn.datasets import make_blobs from matplotlib import pyplot as plt import numpy as np # 创建用 阅读全文
摘要:
hive 1、使用pyhive库 2、需要安装pyhive、thrift、sasl、thrift-sasl 一般安装pyhive时候就会自动安装其他三个库,但是sasl有可能安装不了,需要去官网下载https://www.lfd.uci.edu/~gohlke/pythonlibs/#pandas 阅读全文
摘要:
1、依赖于matplotlib, sklearn.tree.plot_tree 2、第一步先把生成的分类树模型传入plot_tree(tree_model)中 3、第二步调用matplotlib的pyplot.show()显示图形 4、plot_tree()参数列表 def plot_tree(de 阅读全文