Guest User

Untitled

a guest
Nov 19th, 2013
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. sh.cpp: In function ‘int main(int, char**)’:
  2. sh.cpp:29:46: error: no matching function for call to ‘shogun::CDenseFeatures<double>::set_feature_matrix(float64_t*&, int, int)’
  3. sh.cpp:29:46: note: candidate is:
  4. /usr/local/include/shogun/features/DenseFeatures.h:225:7: note: void shogun::CDenseFeatures<ST>::set_feature_matrix(shogun::SGMatrix<T>) [with ST = double]
  5. /usr/local/include/shogun/features/DenseFeatures.h:225:7: note: candidate expects 1 argument, 3 provided
  6. sh.cpp:32:34: error: cannot allocate an object of abstract type ‘shogun::CLabels’
  7. /usr/local/include/shogun/labels/Labels.h:35:7: note: because the following virtual functions are pure within ‘shogun::CLabels’:
  8. /usr/local/include/shogun/base/SGObject.h:171:22: note: virtual const char* shogun::CSGObject::get_name() const
  9. /usr/local/include/shogun/labels/Labels.h:50:16: note: virtual void shogun::CLabels::ensure_valid(const char*)
  10. /usr/local/include/shogun/labels/Labels.h:56:19: note: virtual int32_t shogun::CLabels::get_num_labels() const
  11. /usr/local/include/shogun/labels/Labels.h:62:22: note: virtual ELabelType shogun::CLabels::get_label_type() const
  12. sh.cpp:33:13: error: ‘class shogun::CLabels’ has no member named ‘set_label’
  13. sh.cpp:34:13: error: ‘class shogun::CLabels’ has no member named ‘set_label’
  14. sh.cpp:35:13: error: ‘class shogun::CLabels’ has no member named ‘set_label’
  15. sh.cpp:47:9: error: invalid conversion from ‘int32_t {aka int}’ to ‘shogun::CFeatures*’ [-fpermissive]
  16. /usr/local/include/shogun/machine/Machine.h:164:20: error: initializing argument 1 of ‘virtual shogun::CLabels* shogun::CMachine::apply(shogun::CFeatures*)’ [-fpermissive]
Advertisement
Add Comment
Please, Sign In to add comment