Calculate run time for sentiment Analysis




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


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


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:


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