自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (1)
  • 收藏
  • 关注

原创 数字图像处理----基于拉普拉斯的图像增强

Tool:MATLAB;Technique: Using Laplacian to enhance ImageCoding (Matlab编程)%img = imread('Fig0340.tif');subplot(2, 3, 1);imshow(img);title('原图');% 默认的拉普拉斯h = fspec...

2019-02-28 23:29:02 4004

原创 Sklearn

from sklearn import datasetsfrom sklearn import cross_validationfrom sklearn.naive_bayes import GaussianNBfrom sklearn.svm import SVCfrom sklearn.ensemble import RandomForestClassifierfrom skl...

2018-06-19 16:25:29 283

原创 Python编程实战9

Part 1For each of the four datasets...Compute the mean and variance of bothxandy Compute the correlation coefficient betweenxandy Compute the linear regression line:y=β0+β1x+ϵy=β0+β1...

2018-06-11 19:30:50 367

原创 Scipy

>>> import numpy as np>>> import scipy.linalg as sl>>> m = 30>>> n = 15>>> A = np.random.random((m,n))>>> b = np.random.random((m,1))>...

2018-06-03 11:08:26 235

原创 matplotlib

import numpy as npimport matplotlib as mplimport matplotlib.pyplot as pltx = np.linspace(0,2,100)y = np.power(np.sin(x-2),2)*np.exp((-1)*np.power(x,2))fig = plt.figure()axes = fig.add_axes([0...

2018-05-27 19:48:02 386

原创 Python编程实战6

10-11:喜欢的数字:import jsonfilename = 'number.json'number = input("What is your favourite number?")with open(filename,'w') as f_obj: json.dump(number,f_obj)with open(filename) as f_obj: num...

2018-04-15 14:26:16 139

原创 python编程实战5(类,异常)

9-1餐馆:class Restaurant(): def __init__(self,restaurant_name,cuisine_type): self.restaurant_name = restaurant_name self.cuisine_type = cuisine_type def describe_restaurant(se...

2018-04-06 11:47:57 169

原创 python编程实战4

7-1汽车租赁:car = input("What kinds of car do you want to bent?")print("Let me see if I can find you a "+ car)What kinds of car do you want to bent?SubaruLet me see if I can find you a Subaru...

2018-04-01 16:24:19 340

原创 python编程实战3

5-8方式跟管理员打招呼 以特殊方式跟管理员打招呼:names = ['Eric','admin','alice','ben','mircal']for name in names: if name == 'admin': print("Hello admin, would you like to see a status report?") else:...

2018-03-23 17:04:10 416

原创 python编程实战2

3-3trip_modes = ['bus','car','bike','subway','plane']for trip_mode in trip_modes: print('I would like to own a '+ trip_mode)打印所有的出行工具,如下:I would like to own a busI would like to own a car...

2018-03-18 10:54:47 165

原创 python编程实战1

试验一:运用strip()函数,如下:python = '\n\t python 'print(python)print(python.lstrip())print(python.rstrip())print(python.strip())print(python)运行结果为:pythonpythonpythonpythonpython...

2018-03-11 22:41:52 1723

原创 假如我我是个python程序高手,我打算实现的程序及目标

       查阅知乎,各种神级python编程高手推荐的额练手级项目,比如用于NBA常规赛结果预测——利用python进行比赛数据分析,实现色情图片的识别,利用python破解观看中科大网络课程,获取中科大研究生系统的全部学生姓名,学号,选课信息。也有对影片的人物关系进行理清,或者对网易云音乐进行批量下载等等,感觉这些操作挺有趣的。但总感觉难登大雅之堂。毕竟要是一个Python高手,这些小操作也...

2018-03-11 15:23:56 151

原创 关于阅读Python主页的发现及收获

首先,python是一门面向对象的解释型计算机程序设计语言,其特点是具有丰富而强大的库,被称为是胶水语言,将其他语言的各种模板粘合在一起。其具有简单,易学,开源,解释性与可移植性强,丰富的库的优点,但其运行速度相对于C和C++而言比较慢。关于python的应用,python推进了web和英特网的发展,支持许多英特网协议和提供了强大的库。其次,python广泛用于于科学和数值计算。另外python还...

2018-03-11 14:43:20 144

eclipse+sql+tomcat+jdbc

使用eclipse,用java编程通过JDBC连接SQL server数据库,从而建立个人的数据库

2019-02-28

空空如也

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

TA关注的人

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