Skip to content

Instantly share code, notes, and snippets.

mk-mode komasaru

View GitHub Profile
@komasaru
komasaru / calc.cpp
Created Jul 6, 2020
C++ source code to compute multiple regression equations.
View calc.cpp
#include "calc.hpp"
#include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
/**
* @brief 重回帰式(説明変数2個)の計算
*
@komasaru
komasaru / calc.cpp
Created Jun 30, 2020
C++ source code to calculate a coefficent of determination for simple 2D regression.
View calc.cpp
#include "calc.hpp"
#include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
/**
* @brief 単回帰曲線(2次)の計算
*
@komasaru
komasaru / calc.cpp
Created Jun 26, 2020
C++ source code to calculate a coefficent of determination for simple linear regression.
View calc.cpp
#include "calc.hpp"
#include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
/**
* @brief 単回帰直線の計算
*
@komasaru
komasaru / calc.cpp
Created Jun 5, 2020
C++ source code to calculate a simple regression curve(exp_e).
View calc.cpp
#include "calc.hpp"
#include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
/**
* @brief 単回帰曲線(e指数回帰)の計算
*
@komasaru
komasaru / calc.cpp
Created Jun 5, 2020
C++ source code to calculate a simple regression curve(exp).
View calc.cpp
#include "calc.hpp"
#include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
/**
* @brief 単回帰曲線(指数(ab指数)回帰)の計算
*
@komasaru
komasaru / calc.cpp
Created Jun 5, 2020
C++ source code to calculate a simple regression curve(pow).
View calc.cpp
#include "calc.hpp"
#include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
/**
* @brief 単回帰曲線(べき乗回帰)の計算
*
@komasaru
komasaru / calc.cpp
Created Jun 5, 2020
C++ source code to calculate a simple regression curve(frac).
View calc.cpp
#include "calc.hpp"
#include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
/**
* @brief 単回帰曲線(分数(逆数)回帰)の計算
*
@komasaru
komasaru / calc.cpp
Created May 31, 2020
C++ source code to calculate a simple regression curve(ln).
View calc.cpp
#include "calc.hpp"
#include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
/**
* @brief 単回帰曲線(自然対数回帰)の計算
*
@komasaru
komasaru / calc.cpp
Created May 25, 2020
C++ source code to calculate a simple regression curve(sqrt)
View calc.cpp
#include "calc.hpp"
#include <cmath>
#include <iostream>
#include <sstream>
#include <vector>
/**
* @brief 単回帰曲線(ルート回帰)の計算
*
@komasaru
komasaru / calc.cpp
Last active May 21, 2020
C++ source code to calculate a simple regression curve(4d).
View calc.cpp
#include "calc.hpp"
#include <iostream>
#include <sstream>
#include <vector>
/**
* @brief 単回帰曲線(4次)の計算
*
* @param[ref] a (double)
You can’t perform that action at this time.