1 Given a deck of 52 cards, only consider the color black and red. Shuffle the cards. Define that a group is a sequence of same-color cards. For example, Red/Black/Black/Black/Red/Red is an array of 3 groups. Q: What is the expected number of groups? A: Consider a simple case of 2 cards. If they have the same color, the \(E\) will be 1. \(E\) will be 2 if the 2 cards have different colors.
Read More知乎:家境不好应不应该读博?
这篇回答,知乎赠予了我专业徽章,也获得了1500+个赞同。我也分享给了身边的博士生,大家表示认同,所以应该也是值得再次分享。
Read MoreML Note: Entropy
#the-canvas { border: 1px solid black; direction: ltr; width: 100%; height: auto; } #paginator{ text-align: center; margin-bottom: 10px; } Previous Next Page: / window.onload = function() { var url = "\/files\/Entropy_Cross_Entropy_and_KL_Divergence_Brief_Review.pdf"; var pdfjsLib = window['pdfjs-dist/build/pdf']; pdfjsLib.GlobalWorkerOptions.workerSrc = '/js/pdf-js/build/pdf.worker.js'; var pdfDoc = null, pageNum = 1, pageRendering = false, pageNumPending = null, scale = 3, canvas = document.getElementById('the-canvas'), ctx = canvas.getContext('2d'); function renderPage(num) { pageRendering = true; pdfDoc.
Read MoreML Note: Regularization
#the-canvas { border: 1px solid black; direction: ltr; width: 100%; height: auto; } #paginator{ text-align: center; margin-bottom: 10px; } Previous Next Page: / window.onload = function() { var url = "\/files\/Regularization_Note.pdf"; var pdfjsLib = window['pdfjs-dist/build/pdf']; pdfjsLib.GlobalWorkerOptions.workerSrc = '/js/pdf-js/build/pdf.worker.js'; var pdfDoc = null, pageNum = 1, pageRendering = false, pageNumPending = null, scale = 3, canvas = document.getElementById('the-canvas'), ctx = canvas.getContext('2d'); function renderPage(num) { pageRendering = true; pdfDoc.
Read More