#include "daal.h"
#include "service.h"
using namespace std;
using namespace daal;
using namespace daal::algorithms;
using namespace daal::algorithms::math;
string datasetName = "../data/batch/covcormoments_dense.csv";
int main()
{
FileDataSource<CSVFeatureManager> dataSource(datasetName, DataSource::doAllocateNumericTable, DataSource::doDictionaryFromContext);
dataSource.loadDataBlock();
softmax::Batch<> softmax;
softmax.input.set(softmax::data, dataSource.getNumericTable());
softmax.compute();
softmax::ResultPtr res = softmax.getResult();
printNumericTable(res->get(softmax::value), "Softmax result (first 5 rows):", 5);
return 0;
}