上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 338 下一页
摘要: auto-sklearn 0.15.0 requires ConfigSpace<0.5,>=0.4.21, but you have configspace 0.7.1 which is incompatible.auto-sklearn 0.15.0 requires smac<1.3,>=1. 阅读全文
posted @ 2023-10-07 11:01 emanlee 阅读(48) 评论(0) 推荐(0)
摘要: precision recall 比较低 accuracy 高 为什么神经网络accuracy值很高,但是F1,recall,precision特别差? 对于这个问题,首先要清楚accuracy,F1,recall,precision等概念的含义,为了弄清楚这些概念,以二分类(正,负)为例,现定义如 阅读全文
posted @ 2023-10-02 16:04 emanlee 阅读(2184) 评论(0) 推荐(0)
摘要: 文件比较 winmerge https://winmerge.org/ https://github.com/WinMerge/winmerge/releases/download/v2.16.32/WinMerge-2.16.32-Setup.exe 阅读全文
posted @ 2023-10-01 08:06 emanlee 阅读(33) 评论(0) 推荐(0)
摘要: AttributeError: module 'numpy' has no attribute 'int'. numpy 1.24.1 pypi_0 pypi scikit-learn 1.2.2 pypi_0 pypi 原因:np.int 在 NumPy 1.20中已弃用,在NumPy 1.24中 阅读全文
posted @ 2023-09-30 23:41 emanlee 阅读(3444) 评论(0) 推荐(0)
摘要: from sklearn.datasets.samples_generator import make_blobs make_blobs方法:sklearn.datasets.make_blobs(n_samples=100,n_features=2,centers=3, cluster_std=1 阅读全文
posted @ 2023-09-24 19:12 emanlee 阅读(120) 评论(0) 推荐(0)
摘要: 协方差 协方差的计算公式 协方差的计算公式为:COV(X,Y)=E(XY)-E(X)E(Y)。EX为随机变量X的数学期望,EXY是XY的数学期望。协方差在概率论和统计学中用于衡量两个变量的总体误差。而方差是协方差的一种特殊情况,即当两个变量是相同的情况。 变量间相关的关系: 一般有三种:正相关、负相 阅读全文
posted @ 2023-09-12 23:09 emanlee 阅读(1137) 评论(0) 推荐(0)
摘要: 概念 协方差(Covariance)在概率论和统计学中用于衡量两个变量的总体误差。而方差是协方差的一种特殊情况,即当两个变量是相同的情况。 其实简单来讲,协方差就是衡量两个变量相关性的变量。当协方差为正时,两个变量呈正相关关系(同增同减);当协方差为负时,两个变量呈负相关关系(一增一减)。 而协方差 阅读全文
posted @ 2023-09-12 21:41 emanlee 阅读(729) 评论(0) 推荐(0)
摘要: from keras.callbacks import EarlyStopping, ModelCheckpoint es = EarlyStopping(monitor='val_loss', patience=2, restore_best_weights=True) 为了获得性能良好的神经网络 阅读全文
posted @ 2023-09-11 00:00 emanlee 阅读(240) 评论(0) 推荐(0)
摘要: #train the model history = model.fit(x_train, y_train, batch_size=32, epochs=100, validation_split=0.1, shuffle=True, class_weight=class_weights, call 阅读全文
posted @ 2023-09-10 23:58 emanlee 阅读(676) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/FY_2018/article/details/116951278 compute_class_weight这个函数的作用是对于输入的样本,平衡类别之间的权重,下面写段测试代码测试这个函数: # coding:utf-8 from sklearn.util 阅读全文
posted @ 2023-09-10 23:36 emanlee 阅读(351) 评论(0) 推荐(0)
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 338 下一页