How do I use TF*IDF scores for my machine learning model? I have applied TF*IDF on the 'Ad-topic line' column of my dataset.
For every ad-topic line, I get the same output:



Firstly, I am unable to make sense of the output. The TF*IDF values are mentioned to the right, but what exactly are the numbers in brackets? 

I plan to use these for my logistic regression model for classification. How exactly do I feed these values to the algorithm?
The numbers on the left are also important, they are basically the indexes in the following format

(document_number, token_number)

TF-IDF is computed for all the unique tokens in all the documents.

Let me know if you have any further doubt.

Vote me if i was able to help ;)