高级编程技术
文章平均质量分 59
sysueric
这个作者很懒,什么都没留下…
展开
-
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 · 234 阅读 · 0 评论 -
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 · 269 阅读 · 0 评论 -
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 · 187 阅读 · 0 评论 -
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 · 664 阅读 · 0 评论 -
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 · 194 阅读 · 0 评论