- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 图像处理(Sobel filters 和图像压缩)
图像处理ZhuoFei(fregot@icloud.com)julia version: 1.5.0文章目录图像处理需要的包及下载的图片Sobel filter(寻找人物边缘)缩小图像尺寸需要通过对图像的一系列处理,适当去掉图像中信息含量较小的部分,缩小图像的尺寸。需要的包及下载的图片using Imagesusing ImageFilteringusing ImageViewusing LinearAlgebrausing TestImagesimage_url = "htt
2021-01-29 20:38:53
2563
原创 动力学方程的数值解(动力学方程+行星运动轨道)
动力学方程的数值解(动力学方程+行星运动轨道)Zhuofei(fregot@icloud.com)julia version:1.5.0文章目录动力学方程的数值解(动力学方程+行星运动轨道)计算动力学方程导入需要的包行星运动轨迹数值计算计算动力学方程动力学方程的数值解例如,动力学方程如下:−kx=mdvdt-kx = m\frac{dv}{dt}−kx=mdtdv如果假设 k/m=1k/m = 1k/m=1, 则:−x=dvdt-x = \frac{dv}{dt}−x=dtdv
2021-01-28 21:41:25
2563
原创 SIR模型II
SIR II (Epidemic modeling) by Zhuofei(fregot@icloud.com)在这个模型中,考虑一个在一定空间内的流行病模型。人只能与附近的人交互作用,所以给人在一定的空间里随机运动。首先,在一个2维平面,随机游走:using Plotsusing Composeusing Cairousing Fontconfigstruct Coordinate{T} x::T y::Tend#定义 +function Base.:+(a::Coo
2021-01-26 23:17:17
840
4
原创 网易云音乐粉丝网络(爬虫+网络)
NetEase Cloud Music Fans Network以网易云用户为一个个节点,一旦一个用户A是另一个用户B的粉丝,则[A,B]=1[A, B] = 1[A,B]=1, 否则[A,B]=0[A, B] = 0[A,B]=0, 形成一个adjacency Matrix.最后将网络可视化。主要包括两个部分:爬虫粉丝网络绘制资源文件爬虫使用python + selenium,对粉丝信息进行爬取from selenium import webdriverimport math
2021-01-26 15:56:03
2444
原创 流行病模型(SIR Model)
流行病模型(SIR Model)by : ZhuoFei, Zhou首先定义一个函数bernoulli(p)#以概率p判断是否会被感染或恢复function bernoulli(p::Number) if rand(1)[1] < p return true else return false endendbernoulli (generic function with 1 method)恢复所需的时间函数recovery_time(p)function recove
2021-01-08 23:21:55
3259
原创 MIT18_065S18P-lecture one notes
Lecture One Notesstudent name: ZhouZhuoFeimore information can see, if you want to interactive with figurewe take a matrix A here:A=[2133145712]A = \begin{bmatrix}2 & 1 & 3 \\3 & 1 & 4 \\5 & 7 & 12\end{bmatrix}A=⎣⎡23
2020-11-10 22:48:14
230
原创 Covid19, Analysis, Visualization, Prediction
Covid19, Analysis, Visualization, PredictionAuthor: ZhuoFei, ZhouDate: 2020/10/5IntroductionCovid-19Novel Coronavirus 2019, on 12 January 2020, WHO officially named it 2019-NCOV. Coronaviruses are a large family of viruses known to cause colds and m
2020-10-13 22:39:35
1342
原创 Julia, sigmod regression
Julia, sigmod regressionsigmod regressionsigmod regressionuse Julia:using LinearAlgebrausing Statisticsusing Distributionsusing DataFramesusing Fluxusing GadflyRandom.seed!(123)GroupOne = rand(MvNormal([10.0, 10.0], 10.0 * Matrix{Float64}(I, 2,
2020-10-13 21:17:22
115
Lecture 1 notes.ipynb
2020-11-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人