fisher_iris_dataset.h 1017 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef MEDIA_LEARNING_IMPL_FISHER_IRIS_DATASET_H_
  5. #define MEDIA_LEARNING_IMPL_FISHER_IRIS_DATASET_H_
  6. #include "base/memory/ref_counted.h"
  7. #include "media/learning/common/labelled_example.h"
  8. namespace media {
  9. namespace learning {
  10. // Classic machine learning dataset.
  11. //
  12. // @misc{Dua:2017 ,
  13. // author = "Dheeru, Dua and Karra Taniskidou, Efi",
  14. // year = "2017",
  15. // title = "{UCI} Machine Learning Repository",
  16. // url = "http://archive.ics.uci.edu/ml",
  17. // institution = "University of California, Irvine, "
  18. // "School of Information and Computer Sciences" }
  19. class FisherIrisDataset {
  20. public:
  21. FisherIrisDataset();
  22. ~FisherIrisDataset();
  23. const TrainingData& GetTrainingData() const;
  24. private:
  25. TrainingData training_data_;
  26. };
  27. } // namespace learning
  28. } // namespace media
  29. #endif // MEDIA_LEARNING_IMPL_FISHER_IRIS_DATASET_H_