The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

What is the purpose of scalar object in the SQL + tableau + python example?

What is the purpose of scalar object in the SQL + tableau + python example?

0
Votes
1
Answer

I’m working on the “working with the absenteeism module”. I’m still a bit confused as to why we need to load the scalar object. What is this saving us from doing? I understand that the model was trained on the training data set in the previous modules and now it’s ready to deploy. However, I don’t get what the point of scalar is. It was just two lines of code when we scaled our features. I don’t see why we need to load this instead of building the ability to scale it into the absenteeism module.

1 Answer

365 Team
0
Votes

Hi Bilal!
Thanks for reaching out and please excuse us for not getting back to you sooner.
First, we wanted to make sure you’ve internalised the skill to convert code into character stream, so we wanted to provide an exercise for this and we thought the ‘scaler’ object (note that it’s not scalar, but it’s scaler!) was a great opportunity to do that.
That said, please refer to Minute 2:53 and on from the following lecture from the course and feel free to get back to us should you need further assistance. Thank you.
https://365datascience.teachable.com/courses/sql-tableau-python/lectures/6885673
Hope this helps.
Best,
Martin