|
|
SHARK_EXPORT_SYMBOL std::pair< std::string, std::string > | shark::splitUrl (std::string const &url) |
| Split a URL into its domain and resource parts. More...
|
|
SHARK_EXPORT_SYMBOL std::string | shark::download (std::string const &url, unsigned short port=80) |
| Download a document with the HTTP protocol. More...
|
|
template<class InputType , class LabelType > |
void | shark::downloadSparseData (LabeledData< InputType, LabelType > &dataset, std::string const &url, unsigned short port=80, unsigned int highestIndex=0, std::size_t batchSize=LabeledData< RealVector, unsigned int >::DefaultBatchSize) |
| Download and import a sparse data (libSVM) file. More...
|
|
template<class InputType , class LabelType > |
void | shark::downloadFromMLData (LabeledData< InputType, LabelType > &dataset, std::string const &name, std::size_t batchSize=LabeledData< RealVector, unsigned int >::DefaultBatchSize) |
| Download a data set from mldata.org. More...
|
|
template<class InputType > |
void | shark::downloadCsvData (LabeledData< InputType, unsigned int > &dataset, std::string const &url, LabelPosition lp, char separator=',', char comment='#', unsigned short port=80, std::size_t maximumBatchSize=LabeledData< RealVector, RealVector >::DefaultBatchSize) |
| Download and import a dense data (CSV) file for classification. More...
|
|
template<class InputType > |
void | shark::downloadCsvData (LabeledData< InputType, RealVector > &dataset, std::string const &url, LabelPosition lp, std::size_t numberOfOutputs=1, char separator=',', char comment='#', unsigned short port=80, std::size_t maximumBatchSize=LabeledData< RealVector, RealVector >::DefaultBatchSize) |
| Download and import a dense data (CSV) file for regression. More...
|
|