mirror of
https://github.com/Relintai/MLPP.git
synced 2024-11-12 10:15:01 +01:00
so
This commit is contained in:
parent
32bcc472aa
commit
f441780e8a
@ -10,6 +10,7 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <random>
|
||||
#include <climits>
|
||||
|
||||
namespace MLPP{
|
||||
KMeans::KMeans(std::vector<std::vector<double>> inputSet, int k, std::string init_type)
|
||||
|
@ -7,6 +7,9 @@
|
||||
#include "NumericalAnalysis.hpp"
|
||||
#include "LinAlg/LinAlg.hpp"
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <cmath>
|
||||
#include <climits>
|
||||
|
||||
namespace MLPP{
|
||||
|
||||
@ -177,7 +180,7 @@ namespace MLPP{
|
||||
*/
|
||||
|
||||
// auto growthFunction = [&C, &k](double t) { return C * exp(k * t); };
|
||||
return C * exp(k * t);
|
||||
return C * std::exp(k * t);
|
||||
}
|
||||
|
||||
std::vector<double> NumericalAnalysis::jacobian(double(*function)(std::vector<double>), std::vector<double> x){
|
||||
|
Loading…
Reference in New Issue
Block a user