LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Chapter 5 - Three Learning Principles (http://book.caltech.edu/bookforum/forumdisplay.php?f=112)
-   -   How to solve example 5.3 step per step? (http://book.caltech.edu/bookforum/showthread.php?t=4591)

qwertyqwertz 02-28-2015 06:17 AM

How to solve example 5.3 step per step?
 
Hi folks,

I wonder how to solve the example 5.3 on page 174? I tried to come up with the right solution, but the outcome doesn't make sense.

These are the given numbers:
Hitrate: 52.1%
Number of test days: 500

The correct result is a cumulative profit of 22%.

How do I get 22%?

Thanks a lot and have a nice day!

yaser 02-28-2015 07:01 PM

Re: How to solve example 5.3 step per step?
 
Quote:

Originally Posted by qwertyqwertz (Post 11929)
Hi folks,

I wonder how to solve the example 5.3 on page 174? I tried to come up with the right solution, but the outcome doesn't make sense.

These are the given numbers:
Hitrate: 52.1%
Number of test days: 500

The correct result is a cumulative profit of 22%.

How do I get 22%?

Thanks a lot and have a nice day!

The hit rate is the percentage of days you got the direction right, while the profit takes into consideration how much money you made (or lost) when you got the direction right (or wrong). You can read the 22% directly off the figure on page 175 as the final value at day 500.

qwertyqwertz 03-01-2015 07:34 AM

Re: How to solve example 5.3 step per step?
 
Quote:

Originally Posted by yaser (Post 11931)
The hit rate is the percentage of days you got the direction right, while the profit takes into consideration how much money you made (or lost) when you got the direction right (or wrong). You can read the 22% directly off the figure on page 175 as the final value at day 500.

Hello Yaser,

Thank you very much for taking the time to answer my question! :) Somehow I didn't made the connection between that specific paragraph on page 174 and the figure on page 175 which is quite silly, because it follows right after.

In addition, let me thank you and your co-authors for your brilliant and concise book "Learning from Data". It was a delight to read! Though, the mathematical notation was sometimes a little odd for my taste. But this is just a minor critic that doesn't hurt the overall reading experience.

The book shipped without any problem from the Amazon US store to Germany. The delivery took about six weeks.

The only thing I found lacking from the book was a chapter about evaluation measures. I think this is a critical point that would help the reader understand why a certain model is better in some regards than another. Moreover, it would be really nice if you could provide some examples to illustrate the different measures since this is often quite dependent on the context in which the model in question is applied.

Again, let me thank for your excellent book and online course! :bow:

yaser 03-01-2015 07:28 PM

Re: How to solve example 5.3 step per step?
 
Thank you for the information and the feedback.


All times are GMT -7. The time now is 10:11 AM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.