Questions tagged [time-complexity]
10 questions
3
votes
1 answer
How can I measure time and memory complexity for a deep learning model?
How can I measure or find the time complexity and memory complexity for a model like VGG16 or Resnet50? Also, will it be different from one machine to another like using GTX GPU or RTX GPU?
Lei
- 57
- 7
2
votes
1 answer
GridSearchCV and time complexity
So, I was learning and trying to implement a GridSearch. I have a question regarding the following code, which I wrote:
from sklearn.metrics import make_scorer
from sklearn.tree import DecisionTreeClassifier
from sklearn.model_selection import…
Dimitri
- 23
- 6
2
votes
1 answer
Reduce serving time complexity for real-time recommender systems
I am working on a real-time recommender system predicting a product to a user using deep learning techniques (like wide & deep learning, deep & cross-network etc). Product catalogue can be huge (1000s to 1 million) and for a given user, the model…
Aljo Jose
- 21
- 2
2
votes
0 answers
What is the time complexity of learninig phase of Hopfield neural network?
It really intrigues me what is the time complexity of learning phase of Hopfield neural network, how it depends of the number of training examples and number of attributes?
Source code of Hopfield neural network
Can we say that time complexity of…
Georgi Georgiev
- 121
- 1
0
votes
0 answers
Are there any publications that deal with decreasing value of data as time decreases toward an event?
I'm looking for research related to the value of data volume as time decreases approaching an event.
For example, large data sets are needed to understand changes in geological and meteorological trends across centuries. A smaller data set is needed…
Matt E.
- 1
0
votes
0 answers
Estimate train complexity of a Pytorch model
I guess there are better "keywords" than that, especially I'm not sure about the "complexity" word. But I thought of none.
Let's say I have a NLP model with 1. a Embedding Layer 2. a LSTM layer 3. an output layer with n classes.
I would like to know…
EzrielS
- 323
- 1
- 7
0
votes
1 answer
What is the fastest way to detect lag and calculate cross correlation of two binary time series?
Example,
arr1 = array([0,0,0,1,1,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0])
arr2 = array([1,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0])
arr2 is almost perfectly correlated with arr1 lagged by 3 time slots.
I'm assuming every…
Imp
- 11
- 2
0
votes
0 answers
What is the space and runtime complexity of sklearn MiniBatchNMF
I am trying to scale my virtual machine instance to be the necessary size but not waste extra space. What is the space and runtime complexity for sklearn MiniBatchNMF?
Nat
- 1
0
votes
0 answers
Simulate the computing power required to apply a pre-trained model
I am very new to the field of machine learning and hope this question fits here.
Is there a way to generate an estimate of the computational effort required to classify a value using a previously trained machine learning model? Or to simulate the…
Trojan
- 101
0
votes
2 answers
Fastest way to replace a value in a pandas DataFrame?
I am loading in 1.5m images with 80,000 classes (or I will have to when I eventually train) into a Keras generator and am using a pandas dataframe to do so. The problem is, with so many images, my code takes a long time to run. I have an issue with…
Finn Williams
- 451
- 1
- 7
- 16