Python
文章平均质量分 67
哈哈小火锅
这个作者很懒,什么都没留下…
展开
-
Mac os中pycharm配置anaconda环境的方法(帮新手避坑)
Mac os中pycharm配置anaconda环境的方法(帮新手避坑)第一步打开PyCharm,进入System preferences(偏好设置)中找到python Interpreter第二步,点击右上角的齿轮,并选择add…出现如下窗口,我们应该选择System Interpreter 而不是Virtualenv Environment或condas Environment:第三步,点击右上角进入添加,找到如下,anaconda目录下python.app文件夹然后继续往下找到MacOS原创 2021-01-20 12:27:52 · 1841 阅读 · 5 评论 -
使用手写KNN, Naive Bayes and Logistic regression 分类器对Fashion-MNIST 数据进行分类训练
KNN, Naive Bayes and Logistic regressionCatalogueKNN, Naive Bayes and Logistic regressionIntroduction一、二、Step1.import library2.Prepare and load the data¶ConclusionIntroductionFor this work, the purpose is to understand the dimensionality reduction pro原创 2021-01-17 22:08:38 · 386 阅读 · 1 评论 -
python基础(class)
python基础(class)1.类方法与静态方法代码:类方法class Student(): number = "90" def __init__(self,name,age): self.name = name self.age = age @classmethod def printNum(cls): print(cls.number) # print(self.name) (error,类方法和静态方法不原创 2021-01-17 17:03:37 · 563 阅读 · 4 评论