mirror of
https://github.com/apachecn/ailearning.git
synced 2026-04-29 21:13:37 +08:00
2020-10-19 21:08:55
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
|
||||
In [1]:
|
||||
|
||||
```
|
||||
```py
|
||||
import numpy as np
|
||||
import scipy as sp
|
||||
import matplotlib as mpl
|
||||
@@ -52,7 +52,7 @@ import matplotlib.pyplot as plt
|
||||
|
||||
In [2]:
|
||||
|
||||
```
|
||||
```py
|
||||
from scipy import linalg, optimize
|
||||
|
||||
```
|
||||
@@ -63,12 +63,12 @@ from scipy import linalg, optimize
|
||||
|
||||
In [3]:
|
||||
|
||||
```
|
||||
```py
|
||||
np.info(optimize.fmin)
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
```py
|
||||
fmin(func, x0, args=(), xtol=0.0001, ftol=0.0001, maxiter=None, maxfun=None,
|
||||
full_output=0, disp=1, retall=0, callback=None)
|
||||
|
||||
@@ -154,12 +154,12 @@ References
|
||||
|
||||
In [4]:
|
||||
|
||||
```
|
||||
```py
|
||||
np.lookfor("resize array")
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
```py
|
||||
Search results for 'resize array'
|
||||
---------------------------------
|
||||
numpy.chararray.resize
|
||||
@@ -183,12 +183,12 @@ numpy.ma.mvoid.resize
|
||||
|
||||
In [5]:
|
||||
|
||||
```
|
||||
```py
|
||||
np.lookfor("remove path", module="os")
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
```py
|
||||
Search results for 'remove path'
|
||||
--------------------------------
|
||||
os.removedirs
|
||||
|
||||
Reference in New Issue
Block a user