Skip to content

Commit 709492d

Browse files
authored
Merge pull request #2 from neuroneural/cae67-patch-1
Update README.md
2 parents 72f8008 + 06f4495 commit 709492d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,24 @@ report.plot_scores()
3838
report.plot_features(ntop=10)
3939
```
4040

41+
### Note for Windows
42+
Windows and Linux multiprocessing are performed differently.
43+
To run polyssifier in Windows, an extra line of code must be added.
44+
The below example is for classification, but the same addition must also be made for regression.
45+
46+
```python
47+
from polyssifier import poly
48+
# Load data
49+
data = np.load("/path/to/data.npy")
50+
label = np.load("/path/to/labels.npy")
51+
# Run analysis
52+
if name == '__main__':
53+
report = poly(data,label, n_folds=8)
54+
# Plot results
55+
report.plot_scores()
56+
report.plot_features(ntop=10)
57+
```
58+
4159
### In the terminal
4260
```bash
4361
poly data.npy label.npy --concurrency 10

0 commit comments

Comments
 (0)