At the time when I bought my Linksys WiFi routers, OpenWRT was in the version 19.x and now we have version 21.x. I replaced DD-WRT to OpenWRT in the past and I would not expect the DD-WRT config can be port to OpenWRT. But for upgrading the versions of OpenWRT,...
[more]
Different models of ARIMA
In statsmodels, there are several different but similar functions to fit an ARIMA model to the data. We have the ARIMA, SARIMAX and AutoReg classes. While they are all usable, and they are all fit using OLS, the model they produced are slightly different and hence the fitted parameters are...
[more]
PCA for asset allocation
Assume we have a family of \(n\) assets whose daily return is vector \(\mu\) and the covariance matrix is \(\Sigma\). If we make a portfolio whose asset weight is \(w_k\) for asset \(k\) and the vector of all weights is \(w\), then the portfolio’s volatility is \(\sigma = (w^\top\Sigma w)^{1/2}\)....
[more]
Multivariate Outlier Detection
For an observation of multidimensional variable \(x_i\) and the set of observations \(X\), the Mahalanobis distance tells how far \(x_i\) is from the center of the data with the shape of the dataset considered (i.e., far from center but with multiple samples in the proximity of Euclidean space is fine,...
[more]
Building tensorflow 2.7 in Debian
If you just want to use tensorflow, nothing can be easier than running pip
install tensorflow to install it. If for any reason you need to recompile it
from source code (in Linux), this is what to do.
[more]