TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Phil R.
Professional software engineer. Tutored high school and college intro level computer science
Tutor Satisfaction Guarantee
Machine Learning
TutorMe
Question:

Two questions! 1. Why is a perfect classifier usually considered wrong? 2. Whats the difference between supervised and unsupervised learning?

Phil R.
Answer:

1. A classifier that gets every decision correct (such as determining whether a picture is a cat) is almost certainly victim to overfitting, which means the classifier is excellent at classifying pictures it's been trained to recognize, but generally quite bad at dealing with pictures it hasn't seen before. 2. Supervised learning is where the answers are known by the data scientist. The goal is generally to get the technology to become close to that "expert" level. An example is a classifier which determines whether a picture contains a cat. Certainly a scientist could check the work of the classifier. Unsupervised learning, however, is where the scientist doesn't know what the results should be, and use the technology to try to learn information about the data they're examining. An example of this would be if there were a pile of pictures, but with people the scientist doesn't recognize. The classifier could attempt to organize the pictures into piles based on who is in the picture.

Computer Science (General)
TutorMe
Question:

Why are computer scientists so interested in solving whether or not P = NP?

Phil R.
Answer:

A "P" problem can be solved in polynomial time (not too hard). NP means nondeterministic polynomial time (very hard problem). Computer scientists can't be sure whether all "hard" NP problems are really P problems in disguise. It is the most classical problem in computer science. Most scientists agree that P is not NP, but we can't prove it. If it happens to be true (P=NP), the world will immediately change. Banks wouldn't be able to keep money safe, most encryption would be broken easily, and lots of other hard problems that take a long time to solve would become trivial.

C Programming
TutorMe
Question:

If ptr is a pointer with value 0x00008004, and it points to an array of integers (assume 4 byte integer), what is the value of ptr + 1?

Phil R.
Answer:

Curiously, the answer is NOT 0x00008005! In C and C-type languages, a pointer + N is really pointer + (N * size of element). The reason for this is because the designers of the language wanted N + 1 to refer to the second element in the array, not the next memory location. If, however, the array was of characters, ptr + 1 would be 0x00008005, since a character is only one byte.

Send a message explaining your
needs and Phil will reply soon.
Contact Phil
Ready now? Request a lesson.
Start Session
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 Session" 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.