public IActionResult GetLogisticRegressionResult([FromBody] GetLogisticRegressionRequest request) { var logisticRegression = new LogisticRegression(); logisticRegression.Regress(request.Inputs, request.Outputs); return(new OkObjectResult(logisticRegression.ToDto())); }