Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sh.cpp: In function ‘int main(int, char**)’:
- sh.cpp:29:46: error: no matching function for call to ‘shogun::CDenseFeatures<double>::set_feature_matrix(float64_t*&, int, int)’
- sh.cpp:29:46: note: candidate is:
- /usr/local/include/shogun/features/DenseFeatures.h:225:7: note: void shogun::CDenseFeatures<ST>::set_feature_matrix(shogun::SGMatrix<T>) [with ST = double]
- /usr/local/include/shogun/features/DenseFeatures.h:225:7: note: candidate expects 1 argument, 3 provided
- sh.cpp:32:34: error: cannot allocate an object of abstract type ‘shogun::CLabels’
- /usr/local/include/shogun/labels/Labels.h:35:7: note: because the following virtual functions are pure within ‘shogun::CLabels’:
- /usr/local/include/shogun/base/SGObject.h:171:22: note: virtual const char* shogun::CSGObject::get_name() const
- /usr/local/include/shogun/labels/Labels.h:50:16: note: virtual void shogun::CLabels::ensure_valid(const char*)
- /usr/local/include/shogun/labels/Labels.h:56:19: note: virtual int32_t shogun::CLabels::get_num_labels() const
- /usr/local/include/shogun/labels/Labels.h:62:22: note: virtual ELabelType shogun::CLabels::get_label_type() const
- sh.cpp:33:13: error: ‘class shogun::CLabels’ has no member named ‘set_label’
- sh.cpp:34:13: error: ‘class shogun::CLabels’ has no member named ‘set_label’
- sh.cpp:35:13: error: ‘class shogun::CLabels’ has no member named ‘set_label’
- sh.cpp:47:9: error: invalid conversion from ‘int32_t {aka int}’ to ‘shogun::CFeatures*’ [-fpermissive]
- /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