- 博客(7)
- 收藏
- 关注
原创 Node连接MySql发生ER_NOT_SUPPORTED_AUTH_MODE错误
Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client错误原因:mysql8密码认证采用了新的密码格式解决方法:重新Initialize Database,采用另外一种密码格式...
2018-11-24 21:07:47 1968
原创 使用Anaconda解决Geopandas的环境部署问题
Introduction近来几天,因为需要帮地院的同学写一些使用Python调用Gis软件进行重复性工作的代码,所以接触到一些有关的函数库。 这也算是我第一次将自己的所学专业,应用到其他的学科专业上去。 在这两天,其实用来写代码的时间,远远少于部署环境的时间,所以我觉得有必要将我自己的这两天耗费大量时间总结出来的经验,分享出来。当时我遇到的问题在于,使用pip安装Geopandas的过...
2018-08-01 11:56:52 3705
原创 Scikit-Learn
Scikit-LearnAssignmentIn the second ML assignment you have to compare the performance of three different classification algorithms, namely Naive Bayes, SVM, and Random Forest. For this assignment...
2018-06-19 20:26:22 207
原创 Pandas & Statsmodels - Jupyter
Pandas & StatsmodelsAnscombe’s quartetimport randomimport numpy as npimport scipy as spimport pandas as pdimport matplotlib.pyplot as pltimport seaborn as snsimport statsmodels.api...
2018-06-13 10:45:48 679
原创 Scipy Exercise
10 ScipyExercise 10.1: Least squaresSolutionimport numpy as npimport scipy.linalg as ligm = 10n = 5A = np.random.random((m, n))b = np.random.random(m)x = lig.lstsq(A, b)[0]norm = n...
2018-06-05 19:52:04 195
原创 Matplotlib Exercise
11 MatplotlibExercise 11.1: Plotting a functionPlot the function f(x) = sin^2(x − 2)e^2 over the interval [0, 2]. Add proper axis labels, a title, etc.Solutionimport numpy as npimport...
2018-05-27 16:51:36 281
原创 Numpy Exercise
Numpy ExerciseGenerate matrices A, with random Gaussian entries, B, a Toeplitz matrix, where A ∈ Rn×m and B ∈ Rm×m, for n = 200, m = 500.Exercise 9.1: Matrix operationsCalculate A + A, AA⊤, A⊤...
2018-05-22 00:47:13 253
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人