mirror of
https://github.com/apachecn/ailearning.git
synced 2026-04-27 20:12:20 +08:00
2020-10-19 21:08:55
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
In [1]:
|
||||
|
||||
```
|
||||
```py
|
||||
import numpy as np
|
||||
from scipy.ndimage.measurements import label
|
||||
|
||||
@@ -130,7 +130,7 @@ class InstantBurnForest(BurnableForest):
|
||||
|
||||
In [2]:
|
||||
|
||||
```
|
||||
```py
|
||||
forest = Forest()
|
||||
sb_forest = SlowBurnForest()
|
||||
ib_forest = InstantBurnForest()
|
||||
@@ -150,7 +150,7 @@ for i in xrange(1500):
|
||||
|
||||
In [3]:
|
||||
|
||||
```
|
||||
```py
|
||||
import matplotlib.pyplot as plt
|
||||
%matplotlib inline
|
||||
|
||||
|
||||
Reference in New Issue
Block a user