摘要:import matplotlib.pyplot as pltimport seaborn as snsfrom sklearn import metrics y_true = [0, 1, 2, 0, 1, 2, 0, 2, 2]y_pred = [0, 2, 1, 0, 2, 1, 0, 0, 阅读全文
Kaggle Solutions
2021-05-19 13:18 by DataBases, 77 阅读, 0 推荐, 收藏,
摘要:https://farid.one/kaggle-solutions/ 阅读全文
Evaluation metrics for Supervised Machine Learning problems
2021-05-18 16:35 by DataBases, 52 阅读, 0 推荐, 收藏,
摘要:classification problems, Evaluation metrics: Accuracy: def accuracy(y_true, y_pred): """ Function to calculate accuracy :param y_true: list of true va 阅读全文
stratified k-fold
2021-05-18 15:34 by DataBases, 127 阅读, 0 推荐, 收藏,
摘要:If you have a skewed dataset for binary classification with 90% positive samples and only 10% negative samples, you don't want to use random k-fold cr 阅读全文
生成K-fold交叉验证数据集
2021-05-18 15:21 by DataBases, 263 阅读, 0 推荐, 收藏,
摘要:import pandas as pd from sklearn import model_selection if __name__ == "__main__": # Training data is in a CSV file called train.csv df = pd.read_csv( 阅读全文
github repo
2021-05-07 12:24 by DataBases, 38 阅读, 0 推荐, 收藏,
摘要:https://github.com/vinta/awesome-python https://github.com/diffgram/diffgram https://machinelearningmastery.com/ensemble-machine-learning-with-python- 阅读全文
Machine Learning and Deep Learning Courses
2021-04-25 13:09 by DataBases, 58 阅读, 0 推荐, 收藏,
摘要:导数计算 http://www.calcul.com/show/calculator/derivative? https://www.derivative-calculator.net/ https://elvissaravia.substack.com/ https://elvissaravia. 阅读全文
tensorflow2.4.0编译安装(适配CPU型号 flag)
2021-04-20 17:43 by DataBases, 812 阅读, 0 推荐, 收藏,
摘要:tensorflow2.4.0编译安装(适配CPU型号 flag)1.GCC编译器版本7.3.1https://www.jianshu.com/p/b3f96dde3f61gcc7.3.1sudo yum install centos-release-sclsudo yum install devt 阅读全文
pyspark读取数据
2021-04-09 18:16 by DataBases, 758 阅读, 0 推荐, 收藏,
摘要:本地文件系统的数据读写 spark的工作模式为本地模式 因为Spark采用了惰性机制,在执行转换操作的时候,即使输入了错误的语句,spark-shell也不会马上报错(假设word.txt不存在) 从文件中读取数据创建RDD ll /root/spark-2.4.3-bin-hadoop2.7/wo 阅读全文
Python3创建虚拟开发环境
2021-03-13 18:19 by DataBases, 86 阅读, 0 推荐, 收藏,
摘要:创建虚拟环境/usr/local/python3/bin/python3 -m venv songyuejie-env激活虚拟环境source songyuejie-env/bin/activate退出虚拟环境deactivate 阅读全文
浙公网安备 33010602011771号