Enable contrast version

Tutor profile: Ben T.

Inactive
Ben T.
Data Scientist @ Microsoft; Student @ University of Texas
Tutor Satisfaction Guarantee

Questions

Subject: Python Programming

TutorMe
Question:

What is an easy way to remove duplicates from a list in python?

Inactive
Ben T.
Answer:

To remove duplicates from a list, you can convert the list to a set and back to a list by wrapping the list in a list and set constructor. That is, if the list is names "a", we could use list(set(a)) to remove duplicates.

Subject: Machine Learning

TutorMe
Question:

How can you determine the performance of a model?

Inactive
Ben T.
Answer:

Model performance can be quantified by using the precision, recall, F1, and AUC-ROC, each of which has it's own pros and cons. It is also important to ensure that there is no data leakage between the test and train sets, and to run a cross validation to ensure that there is low variance in model performance on unseen data.

Subject: Java Programming

TutorMe
Question:

The local veterinarian has a room for "animals only", but dogs and cats both occupy it despite the warning. What principle of object oriented programming does this represent? Why is it useful?

Inactive
Ben T.
Answer:

This is an example of polymorphism — dogs and cats can both act as animals as they are both more specific types of animals. This is like having a class extend a superclass, in which objects of the class can act as the superclass. It's useful because we can extend specific behaviors without losing other behaviors, and use more abstracted methods that generalize to different subclasses.

Contact tutor

Send a message explaining your
needs and Ben will reply soon.
Contact Ben

Request lesson

Ready now? Request a lesson.
Start Lesson

FAQs

What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Lesson" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.
BEST IN CLASS SINCE 2015
TutorMe homepage
Made in California by Zovio
© 2020 TutorMe, LLC
High Contrast Mode
On
Off