logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

5-2 决策树算法预测销量高低代码

#-*- coding: utf-8 -*-import pandas as pdinputfile = '../data/sales_data.xls'data = pd.read_excel(inputfile, index_col = u'序号')data[data == u'好'] = 1data[data == u'是'] = 1data[data == u'高'] =

java.lang.String cannot be cast to org.apache.flink.table.data.StringData

16:54:56,851 INFOorg.apache.hadoop.conf.Configuration.deprecation- io.bytes.per.checksum is deprecated. Instead, use dfs.bytes-per-checksumorg.apache.flink.streaming.runtime.tasks.ExceptionInChainedOp

Type EnumTypeInfo<xxxxx> cannot be used as key. Contained UNSUPPORTED key types: EnumTypeInfo<xxxxx>

事情起因https://github.com/chaoxxx/learn-flink-stream-api/blob/master/src/main/java/fun/cosmozhu/session16/main/StreamTest.java这个repository被我clone下来后运行很顺利.想复制到自己的另外一个工程里面,结果报错了报错内容22:45:50,226 INFO org.ap

XGBoost的GPU用法

使用Kaggle Notebook运行,59w的训练集,训练时间不到40s数据使用IEEE CIS比赛数据集代码如下:# # About this kernel## Before I get started, I just wanted to say: huge props to Inversion! The official starter kernel is **AWESO...

mysql导入csv大数据

环境:ubuntu18.10python3.6数据集来自kaggle:ieee-fraud-detection中的identity_test.csv#########################################################################################总体思路:1.代码连接数据库建立表格2.登录m...

ubuntu 18.10无法locate boot-repair

系统:ubuntu 18.10发行版本号:cosmic问题表现为如下:ubuntu 18.10+win7双系统只能进入ubuntu且没有引导ubuntu 18.10添加ppa并且update后无法安装boot-repair#-------------------------------------因为版本过高,所以现有的流程就无法使用了,你会发现你找不到boot-...

Sublime Text提示Unable to download XXX. Please view the console for more details安装插件失败解决(转)

解决方法:1.打开Sublime Text,Preferences ->Package Settings->Package Control->Settings-User,在文件中添加以下几行代码(注意看懂json格式):"downloader_precedence":{"linux": [ "curl", "urllib","wg...

Error: Could not find or load main class org.apache.spark.deploy.yarn.ExecutorLauncher

①查http://desktop:8088/cluster/scheduler中的进度条有没有爆满,如果爆满了是上次提交的任务没清除占用空间了,先释放再说②cd $SPARK_HOME_HOMEgrep -rspark.yarn.jarsconf/spark-defaults.conf:spark.yarn.jars hdfs://Desktop:9000/spark/jars/*.jarhdfs

FAILED: ValidationFailureSemanticException partition spec {dt=2021-04-01} doesn‘t contain all (2) pa

hive> alter table xxxxxxxxxxx add partition (dt = '2021-04-01') location '/yyy/2021-04-01';FAILED: ValidationFailureSemanticException partition spec {dt=2021-04-01} doesn't contain all (2) partitio

    共 144 条
  • 1
  • 2
  • 3
  • 15
  • 请选择