Skip to content

Commit 31e26ea

Browse files
author
Amogh Singhal
authored
Update interview_prep.md
1 parent 6b28178 commit 31e26ea

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

interview_prep.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,23 @@ where y is the label (1 for event and 0 for non-event) and p(y) is the predicted
126126
Reading this formula, it tells you that, for each time the event occcurs (y=1), it adds log(p(y)) to the loss, that is, the log probability of event happening. Conversely, it adds log(1-p(y)), that is, the log probability of event not happening, for each non-event (y=0)
127127

128128
### 11. Explain random forest in laymen terms ?
129+
130+
Say you have three job offers and you wish to decide which is the best among them, you have the following criterion you use to shortlist a job offer like
131+
* tools and technology
132+
* company brand
133+
* health insurance
134+
* support for education
135+
* compensation
136+
* travel time
137+
* joining bonus etc.
138+
139+
You reach out to 10 of your connections on LinkedIn and ask them which is the best comapny to join based on 3 random criteria (for eg. c2, c3, c5)
140+
You make different combinations of criteria while asking to different connections. At the end, you finally select company which is recommended the most from all the responses.
141+
142+
##### This is how a random forest also works
143+
![](https://miro.medium.com/max/690/0*Ry4NWdoTXjSjMfrE)
144+
145+
you reach out to 50 of your different connections and ask them based on different param
129146
### 12. How does logisitc regression work in laymen terms ?
130147
### 13. Why is logistic regression bad idea for multiclass classification ?
131148
### 14. How do you perform the train test split in a timeseries modelling ?

0 commit comments

Comments
 (0)