File:ExpectedLog.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

ExpectedLog.png(427 × 349 pixels, file size: 6 KB, MIME type: image/png)



Summary

Description
English: Expected logarithmic score when true probability is 0.8. Matlab code given below.
Date
Source Own work
Author Bscan
 Info: DrTrigonBot (talk) has evaluated this file and left hidden information. View it! For a deeper understanding of how the bot works, please consult the documentation.

%%%Matlab Code

%Probability given by classifier to be tested q = 0.01:.01:.99; %True probability p = 0.8;

Expected_Surprisal = p*log(q) + (1-p)*log(1-q);

figure; hold on; plot(q, Expected_Surprisal,'b','LineWidth',2); [minSurprisal optimalChoice] = max(Expected_Surprisal); plot(q(optimalChoice), minSurprisal,'*b') xlabel('Probability Assigned to True Event'); ylabel('Expected Logarithmic Score');

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

13 September 2012

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current15:27, 13 September 2012Thumbnail for version as of 15:27, 13 September 2012427 × 349 (6 KB)BscanUser created page with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file: