تفکیک بخش های یک سری زمانی همانگونه که پیش از این اشاره شد، یکی از اهداف ما در سری های زمانی، شناخت روند، تناوب ها، تغییرات فصلی و موارد نامشخص است. یکی از کتابخانه های خوب پایتون برای کار با داده های سری زمانی کتابخانه Statsmodels است. برای مثال استخراج روند، تغییرات فصلی و موارد پیش بینی نشده در مثال فرض زیر به این صورت خواهد بود.
import numpy as np from matplotlib import pyplot from statsmodels.tsa.seasonal import seasonal_decompose x = w = np.random.normal(size=100) for t in range(100): x[t] = x[t-1] + w[t] result = seasonal_decompose(x, model='additive', freq=1) result.plot() pyplot.show()
تفکیک بخش های یک سری زمانی همانگونه که پیش از این اشاره شد، یکی از اهداف ما در سری های زمانی، شناخت روند، تناوب ها، تغییرات فصلی و موارد نامشخص است. یکی از کتابخانه های خوب پایتون برای کار با داده های سری زمانی کتابخانه Statsmodels است. برای مثال استخراج روند، تغییرات فصلی و موارد پیش بینی نشده در مثال فرض زیر به این صورت خواهد بود.
import numpy as np from matplotlib import pyplot from statsmodels.tsa.seasonal import seasonal_decompose x = w = np.random.normal(size=100) for t in range(100): x[t] = x[t-1] + w[t] result = seasonal_decompose(x, model='additive', freq=1) result.plot() pyplot.show()
Telegram has no known backdoors and, even though it is come in for criticism for using proprietary encryption methods instead of open-source ones, those have yet to be compromised. While no messaging app can guarantee a 100% impermeable defense against determined attackers, Telegram is vulnerabilities are few and either theoretical or based on spoof files fooling users into actively enabling an attack.
At a time when the Indian stock market is peaking and has rallied immensely compared to global markets, there are companies that have not performed in the last 10 years. These are definitely a minor portion of the market considering there are hundreds of stocks that have turned multibagger since 2020. What went wrong with these stocks? Reasons vary from corporate governance, sectoral weakness, company specific and so on. But the more important question is, are these stocks worth buying?