Package whistleClassifier
Interface TrainingDataStore
- All Known Implementing Classes:
FileTrainingStore
public interface TrainingDataStore
Storage for whistle classifier training data.
NB this class if for a single storage unit, such as a file.
- Author:
- Doug Gillespie
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Close store for writingboolean
IS a store correctly opened.boolean
Open store for writingOpen, read data and close a data storeboolean
writeData
(TrainingDataSet trainingDataSet) Write data to the opened store
-
Method Details
-
openStore
Open store for writing- Parameters:
storeName
- name- Returns:
- true if open
-
closeStore
boolean closeStore()Close store for writing- Returns:
- true if OK
-
writeData
Write data to the opened store- Parameters:
trainingDataSet
- data to write- Returns:
- true if OK
-
readData
Open, read data and close a data store- Parameters:
storeName
- store name- Returns:
- reference to TrainingDataSet
- See Also:
-
isStoreOk
boolean isStoreOk()IS a store correctly opened.- Returns:
- true if ok
-