首页 > TAG信息列表 > Rainfall

基于SVM算法预测澳大利亚是否降雨,绘制混淆矩阵及ROC曲线

基于SVM算法预测澳大利亚是否降雨,绘制混淆矩阵及ROC曲线 代码控制台结果ROC曲线 代码 import matplotlib.pyplot as plt import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.preprocessing import LabelEncod

echarts图例点击事件

myChart.on('legendselectchanged',(obj) => { if(obj.name == 'Rainfall') { if(obj.selected.Rainfall == false) { myChart.dispatchAction({ type:'legendSelect', name:'Rainfall' }) } }else if(obj.name == 'Evaporat

Python - Datacamp - Introduction to Matplotlib

Python - Datacamp - Introduction to Matplotlib Datacamp: https://www.datacamp.com/ # 1.py 基本matplotlib.pyplot子模块入门# Import the matplotlib.pyplot submodule and name it pltimport matplotlib.pyplot as plt# Create a Figure and an Axes with plt.subplotsfig

123213124

import mathimport osfrom os import pathimport numpy as np filePath = input("Please enter the file path: "); while not path.exists(filePath): filePath = input("File path error, please re-enter: "); if path.exists(filePath): break fil