Calculate run time for sentiment Analysis

r

#1

Hello,

Can you please anyone tell me how to calculate time consuming for particular analysis? And what will be the configuration of system for reduce time?

Thank you


#2

Hi Prem,
In a python notebook you can easily time a cell using the following command as your first line in the notebook cell.

%%timeit

will run the code a few times and gives you the average running time for the same.

As for the configuration part of your question, it largely depends on the type of algorithm and data size of the problem. Although there are a few methods which can handle large datasets with not so advanced configurations. Such techniques have been described in the following article:


#3

Thank you so much
Do you know how to do in R?