python
悟2020
数学与应用数学博士
展开
-
jupyter notebook默认工作目录修改
jupyter notebook默认工作目录修改原创 2022-06-24 09:37:39 · 190 阅读 · 0 评论 -
invalid literal for int() with base 10: ‘largeDoses‘
在<机器学习实战>第二章中的代码样例 ''' Created on Oct 27, 2010 @author: Peter ''' from numpy import * import kNN import matplotlib import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) datingDataMat,datingLabels = kNN.file2matrix('datingTestS原创 2021-07-13 12:52:43 · 384 阅读 · 0 评论 -
FEniCS: First course
Fundamental problems Here we show the basic form of the Python code which solves PDE by FEniCS. Poisson """ FEniCS tutorial demo program: Poisson equation with Dirichlet conditions. Test problem is chosen to give an exact solution at all nodes of the mes原创 2021-01-22 14:26:03 · 293 阅读 · 0 评论