You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two classification models are directly available for automatic identification on hysperspectral images. One is based on support vector machines ('svm') while the other is based on deep image classification ('hsn'). Both models are available under a simple interface like bellow:
242
-
243
-
```python
244
-
n_bands, n_classes =30, 17
245
-
model = hsi.create_model('hsn', (25, 25, n_bands), n_classes)
246
-
model.train(X, y, train_ratio=0.3, epochs=5)
247
-
y_pred = model.predict(X)
248
-
```
249
-
250
239
## License
251
240
252
241
This software is licensed under the MIT License. [View the license](LICENSE).
0 commit comments