上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 118 下一页
摘要: 1.创建帐号和权限 rbac.yaml apiVersion: v1 kind: ServiceAccount metadata: name: nfs-client-provisioner # replace with namespace where provisioner is deployed 阅读全文
posted @ 2023-03-17 22:10 NAVYSUMMER 阅读(82) 评论(0) 推荐(0)
摘要: 1.算法原理 y=w*x+b+ε loss=Σ(w*xi+b-yi)2 w'=w-lr*(loss对w求偏导) # 梯度下降算法 b'=b-lr*(loss对b求偏导) # 梯度下降算法 2.基于numpy实现 def compute_loss(b,w,points): loss = 0 n = l 阅读全文
posted @ 2023-03-11 22:00 NAVYSUMMER 阅读(59) 评论(0) 推荐(0)
摘要: 1.查找要清理的文件 git rev-list --objects --all | grep "清理的文件关键字" 2.删除历史记录 git log --pretty=oneline --branches -- 文件或者目录 3.重写所有 commit,将该文件从 Git 历史中完全移除 git f 阅读全文
posted @ 2023-02-21 10:23 NAVYSUMMER 阅读(209) 评论(0) 推荐(0)
摘要: 1.准备三台机器搭建redis集群 机器ip分别为: 10.0.5.61 10.0.5.102 10.0.5.74 2.在各个机器上安装redis yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm y 阅读全文
posted @ 2023-01-14 10:22 NAVYSUMMER 阅读(64) 评论(0) 推荐(0)
摘要: 1.下载etcd ETCD_VERSION='3.5.4' wget https://github.com/etcd-io/etcd/releases/download/v${ETCD_VERSION}/etcd-v${ETCD_VERSION}-linux-amd64.tar.gz tar -xv 阅读全文
posted @ 2023-01-13 19:08 NAVYSUMMER 阅读(86) 评论(0) 推荐(0)
摘要: curl -fsSL https://rpm.nodesource.com/setup_16.x | bash - yum install -y nodejs yum install gcc-c++ make -y curl -sL https://dl.yarnpkg.com/rpm/yarn.r 阅读全文
posted @ 2023-01-05 15:35 NAVYSUMMER 阅读(651) 评论(0) 推荐(0)
摘要: <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descr 阅读全文
posted @ 2022-12-10 17:42 NAVYSUMMER 阅读(153) 评论(0) 推荐(0)
摘要: 1.Mapper文件WordCountMapper.java package com.hdfs; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.LongWritable; import org.apache. 阅读全文
posted @ 2022-12-10 17:04 NAVYSUMMER 阅读(235) 评论(0) 推荐(0)
摘要: 在项目的根目录里创建setup.py # -*- coding: utf-8 -*- # author:navysummer # email:navysummer@yeah.net import shutil import setuptools from setuptools.command.ins 阅读全文
posted @ 2022-12-04 20:48 NAVYSUMMER 阅读(53) 评论(0) 推荐(0)
摘要: 1.添加maven依赖,即在pom.xml文件李添加依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/20 阅读全文
posted @ 2022-11-27 17:28 NAVYSUMMER 阅读(44) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 118 下一页
交流群 编程书籍