M121 chapter 2 lab 2 : bringing it all to gether

m121/chapter2/scaling.js which is our handout and contains the formula to rescale imdb.votes and calculate normalized_rating is downloaded but when I try to open it, I receive error message.

I also receive the message that this kind of file can be harmful to your computer.
Please tell me what to do?

Please give me the formula or tell me what to do?

Hi @farideh_gorji,
Apologies for the delayed response.
You don’t need to execute the file, that file is provided as a handout to take a reference on how to construct your pipeline. You can open it into a code editor, and take a look at how the formula has been brought into the aggregation pipeline.

In case you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.