
Python learning
文章平均质量分 92
数据架构
知识就是力量,良知才是方向。良知比知识更重要!
When you want to give up , think about why you started?
千学不如一看,千看不如一练,千练不如一战
ACDU(中国DBA联盟)成员
安徽DBA俱乐部 成员
展开
-
About Stacked Generalization
About Stacked Generalization原创 2022-06-23 15:37:04 · 422 阅读 · 0 评论 -
About Random Forest
About Random Forest原创 2022-06-22 11:54:11 · 135 阅读 · 0 评论 -
About Bootstrap Aggregation
About Bootstrap Aggregation原创 2022-06-22 09:16:11 · 289 阅读 · 0 评论 -
About Backpropagation (反向传播法)
About Backpropagation (反向传播法)原创 2022-06-20 18:36:28 · 244 阅读 · 0 评论 -
About Learning Vector Quantization(LVQ,学习矢量量化)
About Learning Vector Quantization(LVQ,学习矢量量化)原创 2022-06-19 22:49:48 · 504 阅读 · 0 评论 -
About k-Nearest Neighbors
About k-Nearest Neighbors原创 2022-06-19 08:19:20 · 221 阅读 · 0 评论 -
About Naive Bayes
About Naive Bayes原创 2022-06-17 06:39:33 · 178 阅读 · 0 评论 -
Classification and Regression Trees(CART) (Nonlinear Algorithms)
Classification and Regression Trees(CART) (Nonlinear Algorithms)原创 2022-06-15 22:37:26 · 503 阅读 · 1 评论 -
About Perceptron with Python
About Perceptron with Python原创 2022-06-14 22:36:42 · 410 阅读 · 0 评论 -
About Logistic Regression with Python
About Logistic Regression with Python原创 2022-06-14 17:59:54 · 476 阅读 · 0 评论 -
About Multivariate Linear Regression
About Multivariate Linear Regression原创 2022-06-14 15:21:22 · 172 阅读 · 0 评论 -
Simple Linear Regression
Simple Linear Regression原创 2022-06-13 22:19:53 · 552 阅读 · 0 评论 -
Algorithm Test Harnesses
Algorithm Test Harnesses原创 2022-06-13 14:47:03 · 186 阅读 · 0 评论 -
About Baseline Models
About Baseline Models原创 2022-06-13 11:00:39 · 245 阅读 · 0 评论 -
About Evaluation Metrics
About Evaluation Metrics原创 2022-06-12 22:50:08 · 252 阅读 · 0 评论 -
How to Algorithm Evaluation Methods
How to Algorithm Evaluation Methods原创 2022-06-12 20:18:25 · 169 阅读 · 0 评论 -
How to scale machine learning data
How to scale machine learning data原创 2022-06-12 15:46:28 · 173 阅读 · 0 评论 -
How to Load Data from CSV (Data Preparation Part)
How to Load Data from CSV (Data Preparation Part)原创 2022-06-11 12:07:51 · 172 阅读 · 0 评论 -
How to install Python3.9.6 on Centos8
How to install Python3.9.6 on Centos8原创 2022-05-06 06:42:46 · 285 阅读 · 0 评论 -
python 面试题(1)
python面试_总结02_代码题1.1简答题请谈谈Python中is 和 == 的区别(写代码演示)¶is用于比较两个变量是否引用了同一个内存地址 is 表示的是对象标示符(object identity),作用是用来检查对象的标示符是否一致,也就是比较两个对象在内存中的地址是否一样。==用于比较两个变量的值是否相等,== 表示的是相等(equality),是用来检查两个对象是否相等。is 是检查两个对象是否指向同一块内存空间,而 == 是检查他们的值是否相等。可以看出,is ..原创 2021-03-28 12:43:42 · 1367 阅读 · 0 评论 -
Machine Learning with Python Part One
In this course, you’ll learn how Machine Learning is used in many key fields and industries.For example,in the health care industry, data scientists use Machine Learning to predict whether a human cell that is believed to be at risk of developing cance原创 2021-03-24 22:04:49 · 2592 阅读 · 0 评论 -
Jupyter_notebookException: Jupyter command `jupyter-contrib` not found.解决办法
Step1 先把之前的卸载pip uninstall jupyter_contrib_nbextensionspip uninstall jupyter_nbextensions_configuratorStep2 然后重新安装pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn jupyter_contrib_nbextensions...原创 2021-03-24 07:07:06 · 3135 阅读 · 7 评论 -
Centos 7 python2.7升级安装python3.7.4
Step1、安装必须的软件#更新源中包列表yum -y update#先安装扩展源EPEL 才能安装pip 否则会报错yum -y install epel-releaseyum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel libffi-develyum -y install gcc gcc-c++ kern..原创 2021-02-16 10:56:08 · 363 阅读 · 0 评论 -
Python 第八章 函数
# 8.1 定义函数# 8.1.1 向函数传递信息# 下面是一个打印问候的简单函数,名为great_user():'''def greet_user(username): # 代码行使用关键字def来告诉Python你要定义一个函数。这是函数定义。 """ 显示简单的问候语""" # 文本是被称为文档字符串的注释,描述了函数是做什么的。文档字符串用三引号括起来,Py...原创 2019-12-17 07:03:48 · 459 阅读 · 0 评论 -
第七章用户输入和while循环
# 在本章中,你将学习如何接受用户输入,让程序能够对其进行处理。# 在程序需要一个名字时,你需要提示用户输入该名字;程序需要一个名单时,# 你需要提示用户输 入一系列名字。为此,你需要使用函数input() 。# 你还将学习如何让程序不断地运行,让用户能够根据需要输入信息,并在程序中使用这些信息。# 为此,你需要使用while 循环让程序不断地运行,直到指定的条件不 满足为止。# 通过...原创 2019-12-17 06:42:28 · 840 阅读 · 0 评论 -
第六章:字典
# 在本章中,你将学习能够将相关信息关联起来的Python字典。你将学习如何访问和修改字典中的信息。鉴于字典可存储的信息量几乎不受限制,因此我们会演示如何遍 历字典中的数据。另外,你还将学习存储字典的列表、存储列表的字典和存储字典的字典。# 理解字典后,你就能够更准确地为各种真实物体建模。你可以创建一个表示人的字典,然后想在其中存储多少信息就存储多少信息:姓名、年龄、地址、职业以及要 描...原创 2019-11-25 23:22:47 · 299 阅读 · 0 评论 -
第5章 IF 语句
知识点:# 编程时经常需要检查一系列条件,并据此决定采取什么措施。在Python中,if语句让你能够检查程序当前的状态,并据此采取相应的措施。# 5.1一个简单示例# 假设你有一个汽车列表,并想将其中每辆汽车的名称打印出来。对于大多数汽车,都应以首字母大写的 方式打印其名称,# 但对于汽车名'bmw' ,应以全大写的方式打印。下面的代码遍历一个列表,并以首字母大写的方式打印其中的汽车名...原创 2019-11-24 14:19:33 · 357 阅读 · 0 评论 -
第4章 操作列表
知识:# 第4章 操作列表# 4.1 遍历整个列表# 需要对列表中的每一个元素都执行相同的操作时,可使用Python中的for循环。'''magicians = ['alice', 'david', 'carolina']for magician in magicians: print(magician)'''# 4.1.1 深入地研究循环# 无# 4.1.2 在f...原创 2019-11-24 08:23:02 · 394 阅读 · 0 评论 -
第三章: 列表简介
# 第三章: 列表简介# 在本章和下一章中,你将学习列表是什么以及如何使用列表元素。列表让你能够在一个地方存储# 成组的信息,其中可以只包含几个元素,也可以包含数百万个元素。# 列表是新手可直接使用的最强大的Python功能之一,它融合了众多重要的编程概念。# 在Python 中,用方括号([])来表示列表,并用逗号来分隔其中的元素。下面是一个简单的列表示例,这个列表包含几种自行车:...原创 2019-11-19 08:13:36 · 310 阅读 · 0 评论 -
第 2 章 变量和简单数据类型1
# 第 2 章 变量和简单数据类型# 2-1 简单消息: 简单消息: 将一条消息存储到变量中,再将其打印出来。test_maxwell = " I love Python !"print(test_maxwell)# 2-2 多条简单消息: 多条简单消息: 将一条消息存储到变量中,将其打印出来;再将变量的值修改为一条新消息,并将其打印出来。'''test_max =...原创 2019-11-17 13:19:11 · 88 阅读 · 0 评论 -
第 2 章 变量和简单数据类型
第 2 章 变量和简单数据类型# 2-1 简单消息: 简单消息: 将一条消息存储到变量中,再将其打印出来。'''test_maxwell = " I love Python !"print(test_maxwell)''''''# 2-2 多条简单消息: 多条简单消息: 将一条消息存储到变量中,将其打印出来;再将变量的值修改为一条新消息,并将其打印出来。test_max...原创 2019-11-17 00:06:30 · 396 阅读 · 0 评论 -
Python 基础
注释:注释的作用:增加程序的可读性 作为调试用 提高团队的合作效率注释的分类:单行注释 :以井号(#)开头,右边的所有内容当做说明。 多行注释: 以三对单引号(' ' ' 注释内容' ' ')将注释包含起来。其他语法:python的语法比较简单,采用缩进的方式。变量什么是变量?变量是可以存储数据的。标识符什么是标识符?标识符是自己定义的...原创 2019-11-13 20:53:59 · 166 阅读 · 0 评论 -
Linux 环境Centos 6.5 搭建Python3环境
1、先到官方网站下载python3的安装包 wget https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tar.xz2、解压包 tar -xf Python-3.6.6.tar.xz3、安装依赖 yum install openssl-devel -y yum instal...原创 2019-10-31 06:39:02 · 456 阅读 · 0 评论