- 博客(5)
- 收藏
- 关注
原创 ValueError: Classification metrics can‘t handle a mix of binary and continuous targets
背景在训练模型时想看一下混淆矩阵的形式,使用的是sklearn中的confusion_matrix函数,具体使用方式见官网:sklearn.metrics.confusion_matrix。报错conf_m = confusion_matrix(Ytest_vector, predtest)ValueError: Classification metrics can’t handle a mix of binary and continuous targets原因分别打印 Ytest_vect
2021-02-27 01:23:59
8264
1
原创 机器学习-Intro
开坑前言本系列笔记基于《An Introduction to Statistical Learning with Applications in R》和其中文翻译版《统计学习导论》。概述第二章 K-nearest neighbor classfier第三章 线性回归(是所有回归方法的基础)第四章 Logistic Regression(逻辑回归) 和 Linear discriminany analysis(线性判别分析)第五章 交叉验证 和 Bootstrap (自助法)第六章 stepwi
2021-02-08 22:08:58
104
原创 2020 Advent of Code - Day2
问题— Day 2: Password Philosophy —Your flight departs in a few days from the coastal airport; the easiest way down to the coast from here is via toboggan.The shopkeeper at the North Pole Toboggan Rental Shop is having a bad day. “Something’s wrong with o
2020-12-11 21:04:18
198
原创 2020 Advent of Code - Day1
问题— Day 1: Report Repair —Before you leave, the Elves in accounting just need you to fix your expense report (your puzzle input); apparently, something isn’t quite adding up.Specifically, they need you to find the two entries that sum to 2020 and then
2020-12-11 21:00:47
224
原创 多类别分类中Micro-averaging与Macro-averaging的区别
多类别分类中Micro-averaging与Macro-averaging的区别The difference between the Micro averaging evaluation metrics and the Macro averaging evaluation metrics in Multiclass classification背景某位小朋友最近在复现一篇论文的实验时,遇到了一些关于Micro(微观)和Macro (宏观)评价指标之间的困惑,之前自己对于这些指标只是拿来主义,并没有理
2020-12-08 17:40:29
1472
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人