logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

机器学习之预处理pyspark和sklearn相似处理比较(持续更新中)

库sklearn: import sklearn.preprocessingpyspark: import.ml.featureBinarizer 根据阈值进行二值化处理小于等于阈值的设置为0大于阈值的设置为1sklear.preprocessing.Binarizer说明:sklearn 的Binarizer 只能处理2D数组demo:x=np.array([[1,2...

获取hdfs 地址,连接阿里云hdfs

本地配置了阿里云的hdfs 地址利用python pyspark连不上报错尝试找到正确的地址和端口号hdfs getconf -confKey fs.default.name# hdfs getconf -confKey fs.default.name2020-06-17 14:59:51,762 INFO Configuration.deprecation: fs.default.name is

tensorboard: command not found(已解决)

背景可视化tensorflow 数据流图时命令行输入tensorboard --logdir=‘my_graph’报错:bash: tensorboard: command not foundsolution使用绝对路径python3 /Users/cyy/Library/Python/3.7/lib/python/site-packages/tensorboard/mai...

时间序列生成器(TimeseriesGenerator)

参考How to Use the TimeseriesGenerator for Time Series Forecasting in Keras时间序列监督学习时间序列的问题如何应用TimeseriesGenratorKeras 提供了TimeseriesGenrator 时间序列生成器,它可以用来自动把单序列或者多序列集转换为监督学习问题。定义一个时间序列生成器你可以创建一个Se...

gin 报错unsupported Scan, storing driver.Value type []uint8 into type *time.Time

背景:报错:[2019-06-20 17:46:55]sql: Scan error on column index 5, name "last_time": unsupported Scan, storing driver.Value type []uint8 into type *time.Time源码:模型type Bigdata_Task_Project struct ...

k8s The following packages have unmet dependencies: kubelet : Depends: kubernetes-cni (= 0.5.1)

背景安装kubelet查看可用版本apt-cache madison kubeadm kubelet kubectlsudo apt-get installkubeadm=1.8.14-00sudo apt-get installkubelet=1.8.14-00报错:XXXX:~$ sudo apt-get installkubelet=1.8.14-00Reading package list

#k8s
Unable to connect to the server: x509: certificate has expired or is not yet valid

背景K8S 集群部署的服务出现问题("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])",)尝试进入K8S主节点重启服务报错Unable to connect to the server: x509: certificate has expi

#k8s
k8s : Failed to pull image “gcr.io/google_containers/pause:3.1“

背景helm 安装jhub超市查看podkubectl get pod --all-namespaces初始化失败查看podkubectl describe pod hook-image-puller-2fmfz -n jhub拉取镜像失败参考Kubernetes:如何解决从k8s.gcr.io拉取镜像失败问题解决docker pull mirrorgooglecontainers/kube-ap

k8s Error: could not find tiller

backgroundClient: &version.Version{SemVer:"v2.17.0", GitCommit:"a690bad98af45b015bd3da1a41f6218b1a451dbe", GitTreeState:"clean"}Error: could not find tillerhelm安装出错solutionkubectl get all --all-na

k8s ns 一直terminating,无法删除

查看kubectl api-resources --verbs=list --namespaced -o name | xargs -n 1 kubectl get --show-kind --ignore-not-found -n jhubkubectl get namespace jhub -o json > jhub.json删除spec 字段- 新增一个代理端口,代理的其实就是api

#k8s
    共 22 条
  • 1
  • 2
  • 3
  • 请选择