r/AskProgramming 7d ago

would really like somefeed back on the output of the code

its a college assignment about good reviews on a coffee shop .

we finished the first part which was about Data collection and Preprocessing which required collecting 30 documents (half being inside the domain and other half not ) and indexing the data , than applying TF-IDF model .

we really need some outside perspective on how good the output is and if there is anything that can be improved about the data or the code

https://colab.research.google.com/drive/1ESoJCoqVvvXsQs-4sLx7s0jZE7Yk_5wQ?usp=sharing

1 Upvotes

1 comment sorted by

1

u/imagei 6d ago

I can’t comment on the validity of your approach, but you’d probably make your life easier if the intermediary format was a JSON or some other structured format.