Skip to content

Commit

Permalink
Merge pull request #2 from neuroneural/cae67-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
sergeyplis authored May 13, 2024
2 parents 72f8008 + 06f4495 commit 709492d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,24 @@ report.plot_scores()
report.plot_features(ntop=10)
```

### Note for Windows
Windows and Linux multiprocessing are performed differently.
To run polyssifier in Windows, an extra line of code must be added.
The below example is for classification, but the same addition must also be made for regression.

```python
from polyssifier import poly
# Load data
data = np.load("/path/to/data.npy")
label = np.load("/path/to/labels.npy")
# Run analysis
if name == '__main__':
report = poly(data,label, n_folds=8)
# Plot results
report.plot_scores()
report.plot_features(ntop=10)
```

### In the terminal
```bash
poly data.npy label.npy --concurrency 10
Expand Down

0 comments on commit 709492d

Please sign in to comment.