yitelee

Results 9 comments of yitelee

By analyzing the node js code of web helper: C:\Program Files (x86)\NVIDIA Corporation\NvNode\NvAutoDownload.js function checkForGFEUpdates(isRecursiveCall) { ............ And the location of its store: C:\Program Files (x86)\NVIDIA Corporation\NvNode\node_modules\nv-localstore\localstore.js You can disable...

Quoted from the Abstract of DA-RNN paper: > The Nonlinear autoregressive exogenous (NARX) model, which predicts the current value of a time series based upon its previous values as well...

I use the web vscode (vscode.dev), downgrade to v12.0.7 and it is working, but 12.1.0 and 12.1.1 are broken. At first when it auto upgraded without my notice, the extension...

function calc_sortino_ratio may encounter situations that all given returns are positive, makes the std = 0 and thus the divide by zero error. ``` negative_returns = np.minimum(returns[1:], 0.) std =...

You can downgrade matplotlib. `pip install matplotlib==2.2.5` Or patch it as below, by following the wisdom of : https://stackoverflow.com/questions/51553545/matplotlib-tick-labels-disappeared-after-set-sharex-in-subplots ``` stock_rets = pf.utils.get_symbol_rets('FB') fig = pf.create_returns_tear_sheet(stock_rets, return_fig=True) for ax in...

While waiting for the new symlog scale, a quick workaround is to keep linear scale, symlog the data values then manipulate the axis tick format as: ``` function transformSymlog(c, base)...

Patch it like this: ``` from pandas_datareader import data as web import empyrical import pyfolio as pf import pandas as pd import numpy as np def get_max_drawdown_underwater_f(underwater): """ Determines peak,...

This is the decent successor, [https://github.com/ranaroussi/quantstats](url)

instead of downgrading scipy, you can do this workaround: ``` from scipy.special import comb import scipy.misc scipy.misc.comb = comb import ecopy as ep ```