Data Science Interview Questions
Data Science Interview Questions
The formula and graph for the sigmoid function are as shown:
Note that the range mentioned is 51, which means zero to 50.
However, the range asked in the question is one to 50.
Therefore, in the above code, you can include the range as
(1,51).
The output of the above code is as shown:
X’ = (X - 𝞵) / 𝞼
• Normalization formula - • Standardization formula -
X’ = (X - Xmin) / (Xmax -
Xmin)
Here,
Xmin - feature’s minimum
value,
Xmax - feature’s maximum
value.