Questions tagged [decomposition]

Decomposition might refer to Time Series Decomposition. Decomposing a time-series into Seasonal and Trend components can be achieved by using several methods, such as STL (which uses a Loess smoothing algorithm).

Prefer using if applicable.


Time series data can exhibit a variety of patterns, and it is often helpful to split a time series into several components, each representing an underlying pattern category.

There are three types of time series patterns: trend, seasonality and cycles. When we decompose a time series into components, we usually combine the trend and cycle into a single trend-cycle component (often just called the trend for simplicity). Thus we can think of a time series as comprising three components: a trend-cycle component, a seasonal component, and a remainder component (containing anything else in the time series). For some time series (e.g., those that are observed at least daily), there can be more than one seasonal component, corresponding to the different seasonal periods.

345 questions
1
vote
1 answer

What can we do with a tensor factorization?

I have three questions about tensor factorization. what is the case(or application) for tensor factorization(decomposition)? how likely is this to become a mainstream technology in the future? how do you use it?
S.Kang
  • 581
  • 2
  • 10
  • 28
1
vote
1 answer

ssa() time series gapfilling R

I have a question regarding gapfilling of time series, using the the R package {Rssa}. The example series is of length 334 and contains several NAs. b1 <- as.vector(B1.med[1,]) > str(b1) num [1:334] 0.0171 0.0331 0.014 0.0371 0.0149 0.0179 NA NA…
Katharina
  • 65
  • 5
1
vote
0 answers

decompose complex sentences to simple sentences

Having a sentence like: "I was given tablets by my nurse to try and ease my pain." I want to decompose it to: "I was given tablets by my nurse to try." "I was given tablets by my nurse to ease my pain." I have tried English parser in OpenNLP (by…
Elm662
  • 663
  • 1
  • 5
  • 18
1
vote
0 answers

How to reconstruct the signal after decomposition

[C,L] = wavedec(sig_new,6,waveletFunction); After decomposing the EEG signal I reconstructed signal by compressing all decomposed sub-signals. After getting reconstructed signal, I compare reconstructed signal with original signal by using "mean…
1
vote
2 answers

MPI partition and communication in 2D topology (velocity directions)

I found this program and my question is... Is it possible to change communication and neighborhood in this program as here? I need partition a 2D array into 4 blocks between processors (on each of them only one process should work). Additional i…
xxx
  • 43
  • 5
1
vote
1 answer

Dividing space outside of convex polygons into horizontally spanning quadrilaterals

I'm looking for an algorithm that can take an area containing a set of non-overlapping convex polygons as input, and break the space outside of the polygons into a set of non-overlapping convex quadrilaterals. The quadrilaterals need to have the…
oceanic
  • 59
  • 4
1
vote
2 answers

Decomposition and decoding of nested dictionary/json

In my app I'm connecting to a server which returns some json style unicode string resembling dictionary of dictionaries. As a result I'd like to get one leveled dictionary with id as a key and unicode value like this : {'1': u'autos','3':…
decarbo
  • 347
  • 1
  • 5
  • 17
1
vote
1 answer

BCNF Decomposition algorithm not working

I have the following problem: R(ABCDEFG) and F ={ AB->CD, C->EF, G->A, G->F, CE ->F}. Clearly, B & G should be part of the key as they are not part of the dependent set. Further, BG+ = ABCDEFG, hence candidate key. Clearly, AB->CD violates BCNF. But…
Rana
  • 111
  • 1
1
vote
1 answer

Update ConstraintList on the Fly in Pyomo

I am coding a benders decomp. algorithm in python with pyomo. My question is as you can see below in step 1, that I need to find a way to update the added constraint somehow, instead of deleting and adding new constraint to sub problem…
oakca
  • 1,408
  • 1
  • 18
  • 40
1
vote
3 answers

Can any function be decomposed as sum of Gaussians?

In Fourier series, any function can be decomposed as sum of sine and cosine In neural networks, any function can be decomposed as weighted sum over logistic functions. (A one layer neural network) In wavelet transforms, any function can be…
1
vote
0 answers

[sklearn decomposition.PCA]Which column did I deserve in my variable?

This is part of my data: yahoo msft goog close open adj 105.349998 54.799999 741.840027 105.349998 102.610001 103.057063 102.709999 55.049999 742.580017 102.709999 105.750000 100.474523 100.699997 …
taylor
  • 457
  • 1
  • 5
  • 17
1
vote
1 answer

Is the decomposition reversible for relational databases

This question is from design theory of relational databases. We know that the accepted way to eliminate anomalies(redundancy, update and delete anomalies) is to decompose relations. The goal of decomposition is to replace a relation by several that…
1
vote
1 answer

LU decomposition using matlab's linsolve

So i'm trying to solve a system of linear equations using LU decomposition. I made a code in matlab that i'm comparing with the output of matlab's linsolve. The thing that's confussing me is this: As far as i understand (from what i learned from…
SDj
  • 57
  • 5
1
vote
0 answers

Truncated SVD attribute python

I'm using this tutorial code in my study. Line to line it works well.But in the line lsa.components_[0] AttributeError: 'TruncatedSVD' object has no attribute 'components_' I think the codes work well before this line, and tutorial says…
user6834861
  • 11
  • 1
  • 4
1
vote
0 answers

Is OpenCV's Cholesky function available in python?

OpenCV has a function to compute the Cholesky decomposition http://docs.opencv.org/master/db/de0/group__core__utils.html#gsc.tab=0 I've been able to use it in C++. I would like to use it in Python. I tried import cv2 cv2.Cholesky(A) #assume A is a…
user3731622
  • 4,844
  • 8
  • 45
  • 84