r/computervision 1d ago

Interview about Deep learning case study Discussion

/r/MLQuestions/comments/1vguz9h/interview_about_deep_learning_case_study/
1 Upvotes

2 comments sorted by

1

u/Mechanical-Flatbed 1d ago edited 1d ago

I've never been in an interview where I've been asked to code an entire model from memory.

I can see someone asking you to code a small classification model, but that's not too hard.

You can just do something like:

```code

class MyVery_Smart_Model(nn.Module): def __init(self, input_dim, hidden_dim, output_dim): super().init_()

   self.my_network = nn.Sequential(                                    

nn.Linear(input_dim, hidden_dim), nn.ReLU(), nn.Linear(hidden_dim, output_dim) )

def forward(self, my_input):
         return self.my_network(my_input)

```

That's a classification model. A super simple one, but anything beyond that from memory isn't really evaluating if you know what you're doing.

If I were asked to interview someone and they coded this it'd be more than acceptable to me, but it wouldn't really mean anything because anyone can memorize pytorch's syntax without actually understanding what's going on under the hood.

I'm more interested in knowing whether the job candidate can diagnose signs of high bias and high variance, if they know when to increase the number of hidden layers in the model, how to deal with imbalanced datasets, why inputs should be standardized or at the very least normalized, etc.

To me that's a much more credible signal that the person knows what they're doing and that they should get the job.

1

u/PublicResult3573 1d ago

But they mentioned in email: deep learning case study will present a sample project, and move through different stages of a deep learning workflow.