摘要: 一、查看网卡名称 打开终端使用命令 ifconfig ubuntu系统查看 网卡名称:ens33 本机当前ip为 (inet):192.168.222.135 子网掩码24位(netmask):255.255.255.0 VM 软件查看 网关(IPG):192.168.222.2 二、配置静态ip 阅读全文
posted @ 2022-03-23 23:26 Theext 阅读(1727) 评论(0) 推荐(0)
摘要: 安装插件,然后重启Ubuntu系统 sudo apt-get install open-vm-tools-desktop 阅读全文
posted @ 2022-03-23 22:28 Theext 阅读(274) 评论(0) 推荐(0)
摘要: 继承: public class Super { public static void main(String[]args){ new son().f(); } } class Father{ public int value; public void f(){ value=100; System. 阅读全文
posted @ 2022-03-23 15:51 Theext 阅读(30) 评论(0) 推荐(0)
摘要: 1. 向量 向量(vector)是用于存储数值型、字符型、逻辑型数据的一维数组。标量可以看作是 只含有一个元素的向量。 函数c( )可用来创建向量,例如: In [2]: x1 <- c(2, 4, 1, -2, 5) x2 <- c("one", "two", "three") x3 <- c(T 阅读全文
posted @ 2022-03-23 15:05 Theext 阅读(1476) 评论(0) 推荐(0)
摘要: 使用网格搜索优化钻石价格模型 主要步骤流程: 1. 导入包 2. 导入数据集 3. 数据预处理 3.1 处理缺失数据 3.2 处理类别型字段 3.2.1 统计类别型字段 3.2.2 字符编码和独热编码 3.3 生成自变量和因变量 3.4 拆分数据集 3.5 特征缩放 4. 构建最优模型 5. 应用网 阅读全文
posted @ 2022-03-23 00:07 Theext 阅读(236) 评论(0) 推荐(0)