自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 收藏
  • 关注

原创 CS入门-系统学习-计划

CS入门-系统学习-计划任务一:完成 MIT 6.00.1x任务二:完成 Harvard CS50x任务三:完成 廖雪峰-Python 教程参考博主 wxw060709 的计划及版式:原文链接:https://blog.csdn.net/wxw060709/article/details/83445924任务一:完成 MIT 6.00.1x序号任务名称视频观看博客总结完成...

2019-06-07 17:08:18 827

原创 python-小知识点积累(持续更新)

Operators取整 double slash //= math.floor()取余 percentage / modulus operator %逻辑运算符:· And: &· Or: |· XOR: ^计算过程:将数字换算成二进制后,每一位分别进行逻辑XOR的运算6 ^ 22 = 1 06 = 1 1 0————== 1 0 0 =》 4...

2019-10-28 14:07:23 136

原创 CS入门学习笔记14-MIT 6.00.1x- Lecture 12 Object Oriented Programming (Class & Generator

Lectrue 121. Inheritanceinheritance 指的是不仅要建立class,还要在一个class中建立许多的subclass,让它们都可以共享主class中的standard1.1 Using inheritanceLet’s build an application that organizes info about people!– Person: name...

2019-10-25 15:06:21 265

原创 CS入门学习笔记13-MIT 6.00.1x- Lecture 11 Classes

Lectrue 111. Class 由来1.1 Objects先前学过的int,float,string,list,dictionary都是一种type,他们中包含的各种具体内容都是一个object。object包括:· A type (a particular object is said to be an instance of the type),不同的type控制对象不同的b...

2019-10-17 08:36:37 364

原创 CS入门学习笔记12-MIT 6.00.1x- Lecture 10

Lectrue 101. Search algorithms 搜索算法定义- 用于在特定collection中寻找一个或一组符合特点的值。

2019-10-12 03:22:44 177

原创 【参考资料整理】关于模运算以及逆元

最近正在学习模以及其中的各种变化,因为学到Multiplicative inverses mode模乘逆元有些不懂,所以多搜索了一些资料,收录如下:1. 数论—模运算的逆元(较为全面,且包含C++代码)https://blog.csdn.net/qq_41897386/article/details/822899752.关于模乘逆元集中计算方法的英文表述(包含C++代码)https://b...

2019-09-23 10:03:21 564

原创 CS入门学习笔记11-MIT 6.00.1x- Lecture 9

Lecture 9 Efficiency and orders of growth他人笔记参考:https://www.cnblogs.com/HuZihu/p/7614460.htmlGoals in designing programsIt returns the correct answer on all illegal inputs;It performs the computa...

2019-07-15 17:58:27 272

原创 CS入门学习笔记10-作业题(含generator生成器, yield, input与raw_input区别等初步学习)

1. Finding longest substring in alphabetical orderAssume s is a string of lower case characters.Write a program that prints the longest substring of s in which the letters occur in alphabetical orde...

2019-07-11 14:37:33 332

原创 CS入门学习笔记9-MIT 6.00.1x

Lecture 8 Assertions and Exceptions1. what is exception----exceptions to what was expectedpython中带有的提示error的方式为:raise an exceptionraise Exception(“descriptive string”)2. python’s handlers for exc...

2019-07-09 16:25:21 192

原创 CS入门学习笔记8-MIT 6.00.1x

Lecture 7 DebuggingTesting methods: ways of trying code on examples to determine if running correctlyDebugging methods: ways of fixing a program that you know does not work as intended1. when sho...

2019-07-09 12:05:38 295

原创 CS入门学习笔记7-作业题-MIT 6.00.1x

第三周 problem set 3Radiation ExposureIn this problem, you are asked to find the amount of radiation a person is exposed to during some period of time by completing the following function:To complete ...

2019-07-08 17:40:43 286

原创 CS入门学习笔记6-MIT 6.00.1x-tuple,list,dictionary

Lecture 6 对象截止目前,已学习过的算法:Exhaustive enumerationGuess and checkBisectionDivide and conquer学习过的simple data types:NumbersStrings马上要接触到的Compound data typesTuplesListsDictionaries1. Tupl...

2019-07-07 20:57:03 420

原创 CS入门学习笔记5-MIT 6.00.1x

MIT 6.00.1x 第五讲-递归Recursion** iterative algorithms-- 迭代算法作业一Write an iterative function iterPower(base, exp) that calculates the exponential baseexp by simply using successive multiplication. For e...

2019-07-04 16:11:01 449

原创 CS入门学习笔记3-廖雪峰python教程-函数

第4节-函数函数体内部的语句在执行时,一旦执行到return时,函数就执行完毕,并将结果返回函数的定义与调用pass语句pass可以用来作为占位符,比如现在还没想好怎么写函数的代码,就可以先放一个pass,让代码能运行起来,不会产生报错。如:if age >= 18: pass对函数进行参数检查设置如下即是对my_abs这个函数的参数类型做检查,只允许整...

2019-06-26 17:39:11 272

原创 CS入门学习笔记4-MIT 6.00.1x

Week 2 Problem Set1. Assume s is a string of lower case characters.Write a program that counts up the number of vowels contained in the string s. Valid vowels are: ‘a’, ‘e’, ‘i’, ‘o’, and ‘u’. For ...

2019-06-26 16:12:01 425

原创 CS入门学习笔记2-MIT 6.00.1x

MIT 6.00.1x 第四讲-函数函数的基本形式使用def作为定义的关键词def max(x, y): if x > y: return x else: return y返回的值为语句中return后的内容或noneenvironment的概念与函数的关系函数属于一个procedure object,即使在全局环境E1中已...

2019-06-24 16:39:22 255

原创 CS入门学习笔记1-MIT 6.00.1x

MIT 6.00.1x 第三讲ProblemSet:In this problem, you’ll create a program that guesses a secret number!x = int( raw_input('Enter an integer between 0 and 100:'))numGuesses = 0low = 0high = 100ans = (hi...

2019-06-07 17:56:16 253

原创 mysql安装配置-基本操作总结(windows-mysql5.7版本zip安装包)

解压后将文件夹拷入指定目录。首先在bin文件夹中新建my.ini,其中需包含的基本内容如下:[mysqld]character-set-server=utf8port=3306character_set_server=utf8#解压目录basedir=D:/mysql-5.7.24-winx64#解压目录下data目录datadir=D:/mysql-5.7.24-winx64...

2018-12-12 09:38:22 135

原创 Day 18 ggplot2及clustering 的学习

早已破了最少两天更新一次的flag,但还是要坚持写下去吧,也算是对懒散的自己的一个额外督促。今日学完了exploratory data analysis的第三周内容,主要介绍的是hierarchical clustering、k-means clustering、dimension reduction还有之前已经swirl过的working with plots部分。另外今天还完成了之前上周遗留...

2018-11-19 00:17:02 212

原创 姗姗来迟的day11

Day 10-11/11学完了exploratory week2 的内容,主要是学习了ggplot2的一些基本用法,一些特别的用法记录如下:一些常用的属性名称在color属性中,若要用固定的值如特定的颜色来进行定义,则要加双引号;若要用factor来做分集,则color 直接等于是factor的变量名,不同颜色会自动生成。在这里插入图片描述Outlier的处理与显示与base sys...

2018-11-14 00:53:18 117

原创 Day 8 SQL语句简单知识学习

今日发现了一个叫W3SCHOOL的神奇的网站,里面有很多语言的基础教程,分为了一堂堂短短的介绍,并且与例子结合,目前看来对于初学者还是很有效的,打算在上面先把sql的相关知识都学习一下。把今日关于sql学习的一些相对特别的点记录如下:SQL 中有DML与DDL的区别,也正是因为如此,在删除东西时才会有delete和drop两种。辅助记忆!order by后可以跟多列数据,系统会先按照第一...

2018-11-09 02:58:38 127

原创 Day 6 哈佛cs50 & R语言 lattice plotting与三个color package

day 5 时,听了cs50 week 0 的大半节课,很有启发而且有趣。印象最深的是老师用撕通讯录讲解算法的含义,并进一步引出曲线对比不同算法的优劣。day6, 今日用swirl完成了lattice plotting 和 working with colors 两个练习,很有收获,特把关于color的一些package的使用笔记记录如下:grDevices — package主要有两个...

2018-11-07 01:24:09 146

原创 Day 4 小蔡姬目前还是咸鱼

第2天晚上约饭度过;第三天打了大半天游戏,第四题又出去办事了。所幸第三天终于是做完了we1,其中积累:subset我一开始用的条件项有问题,直接导致最后选取的数据只有原有数据量的一半。...

2018-11-04 23:45:06 108

原创 Day 1 一只超级菜鸟的起步

决定从今天开始写博客,记录自己的学习情况,虽然不能保证每天都更新,但最少两天一次吧。要学的东西很多:r语言的课得刷,为了证书;9个月的时间,想从最基础开始学习计算机的内容,启蒙阶段从mit和harvard的网课开始;跟着mit的网课,想开始学习python,毕竟是时下热门并且又适合初学者。虽然定了大概计划,但还没理出来一个完全清晰的头绪,惰性依旧很大。另外,一定要充分应用自学的能力...

2018-11-02 00:11:30 140

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除