Files
FYS-STK4155/doc/pub/week48/html/week48-bs.html
T
2024-11-25 12:50:16 +01:00

426 lines
25 KiB
HTML

<!--
HTML file automatically generated from DocOnce source
(https://github.com/doconce/doconce/)
doconce format html week48.do.txt --html_style=bootstrap --pygments_html_style=default --html_admon=bootstrap_panel --html_output=week48-bs --no_mako
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="DocOnce: https://github.com/doconce/doconce/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Week 48: Gradient boosting and summary of course">
<title>Week 48: Gradient boosting and summary of course</title>
<!-- Bootstrap style: bootstrap -->
<!-- doconce format html week48.do.txt --html_style=bootstrap --pygments_html_style=default --html_admon=bootstrap_panel --html_output=week48-bs --no_mako -->
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<!-- not necessary
<link href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
-->
<style type="text/css">
/* Add scrollbar to dropdown menus in bootstrap navigation bar */
.dropdown-menu {
height: auto;
max-height: 400px;
overflow-x: hidden;
}
/* Adds an invisible element before each target to offset for the navigation
bar */
.anchor::before {
content:"";
display:block;
height:50px; /* fixed header height for style bootstrap */
margin:-50px 0 0; /* negative fixed header height */
}
</style>
</head>
<!-- tocinfo
{'highest level': 2,
'sections': [('Overview of week 48', 2, None, 'overview-of-week-48'),
('Lecture Monday, November 25',
2,
None,
'lecture-monday-november-25'),
('Lab sessions', 2, None, 'lab-sessions'),
('Random Forest Algorithm, reminder from last week',
2,
None,
'random-forest-algorithm-reminder-from-last-week'),
('Random Forests Compared with other Methods on the Cancer Data',
2,
None,
'random-forests-compared-with-other-methods-on-the-cancer-data'),
('Compare Bagging on Trees with Random Forests',
2,
None,
'compare-bagging-on-trees-with-random-forests'),
("Boosting, a Bird's Eye View",
2,
None,
'boosting-a-bird-s-eye-view'),
('What is boosting? Additive Modelling/Iterative Fitting',
2,
None,
'what-is-boosting-additive-modelling-iterative-fitting'),
('Iterative Fitting, Regression and Squared-error Cost Function',
2,
None,
'iterative-fitting-regression-and-squared-error-cost-function'),
('Squared-Error Example and Iterative Fitting',
2,
None,
'squared-error-example-and-iterative-fitting'),
('Iterative Fitting, Classification and AdaBoost',
2,
None,
'iterative-fitting-classification-and-adaboost'),
('Adaptive Boosting, AdaBoost',
2,
None,
'adaptive-boosting-adaboost'),
('Building up AdaBoost', 2, None, 'building-up-adaboost'),
('Adaptive boosting: AdaBoost, Basic Algorithm',
2,
None,
'adaptive-boosting-adaboost-basic-algorithm'),
('Basic Steps of AdaBoost', 2, None, 'basic-steps-of-adaboost'),
('AdaBoost Examples', 2, None, 'adaboost-examples'),
('Making an ADAboost code yourself',
2,
None,
'making-an-adaboost-code-yourself'),
('Gradient boosting: Basics with Steepest Descent/Functional '
'Gradient Descent',
2,
None,
'gradient-boosting-basics-with-steepest-descent-functional-gradient-descent'),
('The Squared-Error again! Steepest Descent',
2,
None,
'the-squared-error-again-steepest-descent'),
('Steepest Descent Example', 2, None, 'steepest-descent-example'),
('Gradient Boosting, algorithm',
2,
None,
'gradient-boosting-algorithm'),
('Gradient Boosting, Examples of Regression',
2,
None,
'gradient-boosting-examples-of-regression'),
('Gradient Boosting, Classification Example',
2,
None,
'gradient-boosting-classification-example'),
('XGBoost: Extreme Gradient Boosting',
2,
None,
'xgboost-extreme-gradient-boosting'),
('Xgboost on the Cancer Data',
2,
None,
'xgboost-on-the-cancer-data'),
('Gradient boosting, making our own code for a regression case',
2,
None,
'gradient-boosting-making-our-own-code-for-a-regression-case'),
('Summary of course', 2, None, 'summary-of-course'),
('What? Me worry? No final exam in this course!',
2,
None,
'what-me-worry-no-final-exam-in-this-course'),
('Topics we have covered this year',
2,
None,
'topics-we-have-covered-this-year'),
('Statistical analysis and optimization of data',
2,
None,
'statistical-analysis-and-optimization-of-data'),
('Machine learning', 2, None, 'machine-learning'),
('Learning outcomes and overarching aims of this course',
2,
None,
'learning-outcomes-and-overarching-aims-of-this-course'),
('Perspective on Machine Learning',
2,
None,
'perspective-on-machine-learning'),
('Machine Learning Research',
2,
None,
'machine-learning-research'),
('Starting your Machine Learning Project',
2,
None,
'starting-your-machine-learning-project'),
('Choose a Model and Algorithm',
2,
None,
'choose-a-model-and-algorithm'),
('Preparing Your Data', 2, None, 'preparing-your-data'),
('Which activation and weights to choose in neural networks',
2,
None,
'which-activation-and-weights-to-choose-in-neural-networks'),
('Optimization Methods and Hyperparameters',
2,
None,
'optimization-methods-and-hyperparameters'),
('Resampling', 2, None, 'resampling'),
('Other courses on Data science and Machine Learning at UiO',
2,
None,
'other-courses-on-data-science-and-machine-learning-at-uio'),
('Additional courses of interest',
2,
None,
'additional-courses-of-interest'),
("What's the future like?", 2, None, 'what-s-the-future-like'),
('Types of Machine Learning, a repetition',
2,
None,
'types-of-machine-learning-a-repetition'),
('Why Boltzmann machines?', 2, None, 'why-boltzmann-machines'),
('Boltzmann Machines', 2, None, 'boltzmann-machines'),
('Some similarities and differences from DNNs',
2,
None,
'some-similarities-and-differences-from-dnns'),
('Boltzmann machines (BM)', 2, None, 'boltzmann-machines-bm'),
('A standard BM setup', 2, None, 'a-standard-bm-setup'),
('The structure of the RBM network',
2,
None,
'the-structure-of-the-rbm-network'),
('The network', 2, None, 'the-network'),
('Goals', 2, None, 'goals'),
('Joint distribution', 2, None, 'joint-distribution'),
('Network Elements, the energy function',
2,
None,
'network-elements-the-energy-function'),
('Defining different types of RBMs',
2,
None,
'defining-different-types-of-rbms'),
('More about RBMs', 2, None, 'more-about-rbms'),
('Autoencoders: Overarching view',
2,
None,
'autoencoders-overarching-view'),
('Bayesian Machine Learning',
2,
None,
'bayesian-machine-learning'),
('Reinforcement Learning', 2, None, 'reinforcement-learning'),
('Transfer learning', 2, None, 'transfer-learning'),
('Adversarial learning', 2, None, 'adversarial-learning'),
('Dual learning', 2, None, 'dual-learning'),
('Distributed machine learning',
2,
None,
'distributed-machine-learning'),
('Meta learning', 2, None, 'meta-learning'),
('The Challenges Facing Machine Learning',
2,
None,
'the-challenges-facing-machine-learning'),
('Explainable machine learning',
2,
None,
'explainable-machine-learning'),
('Quantum machine learning', 2, None, 'quantum-machine-learning'),
('Quantum machine learning algorithms based on linear algebra',
2,
None,
'quantum-machine-learning-algorithms-based-on-linear-algebra'),
('Quantum reinforcement learning',
2,
None,
'quantum-reinforcement-learning'),
('Quantum deep learning', 2, None, 'quantum-deep-learning'),
('Social machine learning', 2, None, 'social-machine-learning'),
('The last words?', 2, None, 'the-last-words'),
('Best wishes to you all and thanks so much for your heroic '
'efforts this semester',
2,
None,
'best-wishes-to-you-all-and-thanks-so-much-for-your-heroic-efforts-this-semester')]}
end of tocinfo -->
<body>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: {
equationNumbers: { autoNumber: "none" },
extensions: ["AMSmath.js", "AMSsymbols.js", "autobold.js", "color.js"]
}
});
</script>
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<!-- Bootstrap navigation bar -->
<div class="navbar navbar-default navbar-fixed-top">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="week48-bs.html">Week 48: Gradient boosting and summary of course</a>
</div>
<div class="navbar-collapse collapse navbar-responsive-collapse">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Contents <b class="caret"></b></a>
<ul class="dropdown-menu">
<!-- navigation toc: --> <li><a href="._week48-bs001.html#overview-of-week-48" style="font-size: 80%;">Overview of week 48</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs002.html#lecture-monday-november-25" style="font-size: 80%;">Lecture Monday, November 25</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs003.html#lab-sessions" style="font-size: 80%;">Lab sessions</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs004.html#random-forest-algorithm-reminder-from-last-week" style="font-size: 80%;">Random Forest Algorithm, reminder from last week</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs005.html#random-forests-compared-with-other-methods-on-the-cancer-data" style="font-size: 80%;">Random Forests Compared with other Methods on the Cancer Data</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs006.html#compare-bagging-on-trees-with-random-forests" style="font-size: 80%;">Compare Bagging on Trees with Random Forests</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs007.html#boosting-a-bird-s-eye-view" style="font-size: 80%;">Boosting, a Bird's Eye View</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs008.html#what-is-boosting-additive-modelling-iterative-fitting" style="font-size: 80%;">What is boosting? Additive Modelling/Iterative Fitting</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs009.html#iterative-fitting-regression-and-squared-error-cost-function" style="font-size: 80%;">Iterative Fitting, Regression and Squared-error Cost Function</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs010.html#squared-error-example-and-iterative-fitting" style="font-size: 80%;">Squared-Error Example and Iterative Fitting</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs011.html#iterative-fitting-classification-and-adaboost" style="font-size: 80%;">Iterative Fitting, Classification and AdaBoost</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs012.html#adaptive-boosting-adaboost" style="font-size: 80%;">Adaptive Boosting, AdaBoost</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs013.html#building-up-adaboost" style="font-size: 80%;">Building up AdaBoost</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs014.html#adaptive-boosting-adaboost-basic-algorithm" style="font-size: 80%;">Adaptive boosting: AdaBoost, Basic Algorithm</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs015.html#basic-steps-of-adaboost" style="font-size: 80%;">Basic Steps of AdaBoost</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs016.html#adaboost-examples" style="font-size: 80%;">AdaBoost Examples</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs017.html#making-an-adaboost-code-yourself" style="font-size: 80%;">Making an ADAboost code yourself</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs018.html#gradient-boosting-basics-with-steepest-descent-functional-gradient-descent" style="font-size: 80%;">Gradient boosting: Basics with Steepest Descent/Functional Gradient Descent</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs019.html#the-squared-error-again-steepest-descent" style="font-size: 80%;">The Squared-Error again! Steepest Descent</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs020.html#steepest-descent-example" style="font-size: 80%;">Steepest Descent Example</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs021.html#gradient-boosting-algorithm" style="font-size: 80%;">Gradient Boosting, algorithm</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs022.html#gradient-boosting-examples-of-regression" style="font-size: 80%;">Gradient Boosting, Examples of Regression</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs023.html#gradient-boosting-classification-example" style="font-size: 80%;">Gradient Boosting, Classification Example</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs024.html#xgboost-extreme-gradient-boosting" style="font-size: 80%;">XGBoost: Extreme Gradient Boosting</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs025.html#xgboost-on-the-cancer-data" style="font-size: 80%;">Xgboost on the Cancer Data</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs026.html#gradient-boosting-making-our-own-code-for-a-regression-case" style="font-size: 80%;">Gradient boosting, making our own code for a regression case</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs027.html#summary-of-course" style="font-size: 80%;">Summary of course</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs028.html#what-me-worry-no-final-exam-in-this-course" style="font-size: 80%;">What? Me worry? No final exam in this course!</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs029.html#topics-we-have-covered-this-year" style="font-size: 80%;">Topics we have covered this year</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs030.html#statistical-analysis-and-optimization-of-data" style="font-size: 80%;">Statistical analysis and optimization of data</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs031.html#machine-learning" style="font-size: 80%;">Machine learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs032.html#learning-outcomes-and-overarching-aims-of-this-course" style="font-size: 80%;">Learning outcomes and overarching aims of this course</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs033.html#perspective-on-machine-learning" style="font-size: 80%;">Perspective on Machine Learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs034.html#machine-learning-research" style="font-size: 80%;">Machine Learning Research</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs035.html#starting-your-machine-learning-project" style="font-size: 80%;">Starting your Machine Learning Project</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs036.html#choose-a-model-and-algorithm" style="font-size: 80%;">Choose a Model and Algorithm</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs037.html#preparing-your-data" style="font-size: 80%;">Preparing Your Data</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs038.html#which-activation-and-weights-to-choose-in-neural-networks" style="font-size: 80%;">Which activation and weights to choose in neural networks</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs039.html#optimization-methods-and-hyperparameters" style="font-size: 80%;">Optimization Methods and Hyperparameters</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs040.html#resampling" style="font-size: 80%;">Resampling</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs041.html#other-courses-on-data-science-and-machine-learning-at-uio" style="font-size: 80%;">Other courses on Data science and Machine Learning at UiO</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs042.html#additional-courses-of-interest" style="font-size: 80%;">Additional courses of interest</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs043.html#what-s-the-future-like" style="font-size: 80%;">What's the future like?</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs044.html#types-of-machine-learning-a-repetition" style="font-size: 80%;">Types of Machine Learning, a repetition</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs045.html#why-boltzmann-machines" style="font-size: 80%;">Why Boltzmann machines?</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs046.html#boltzmann-machines" style="font-size: 80%;">Boltzmann Machines</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs047.html#some-similarities-and-differences-from-dnns" style="font-size: 80%;">Some similarities and differences from DNNs</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs048.html#boltzmann-machines-bm" style="font-size: 80%;">Boltzmann machines (BM)</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs049.html#a-standard-bm-setup" style="font-size: 80%;">A standard BM setup</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs050.html#the-structure-of-the-rbm-network" style="font-size: 80%;">The structure of the RBM network</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs051.html#the-network" style="font-size: 80%;">The network</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs052.html#goals" style="font-size: 80%;">Goals</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs053.html#joint-distribution" style="font-size: 80%;">Joint distribution</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs054.html#network-elements-the-energy-function" style="font-size: 80%;">Network Elements, the energy function</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs055.html#defining-different-types-of-rbms" style="font-size: 80%;">Defining different types of RBMs</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs056.html#more-about-rbms" style="font-size: 80%;">More about RBMs</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs057.html#autoencoders-overarching-view" style="font-size: 80%;">Autoencoders: Overarching view</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs058.html#bayesian-machine-learning" style="font-size: 80%;">Bayesian Machine Learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs059.html#reinforcement-learning" style="font-size: 80%;">Reinforcement Learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs060.html#transfer-learning" style="font-size: 80%;">Transfer learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs061.html#adversarial-learning" style="font-size: 80%;">Adversarial learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs062.html#dual-learning" style="font-size: 80%;">Dual learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs063.html#distributed-machine-learning" style="font-size: 80%;">Distributed machine learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs064.html#meta-learning" style="font-size: 80%;">Meta learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs065.html#the-challenges-facing-machine-learning" style="font-size: 80%;">The Challenges Facing Machine Learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs066.html#explainable-machine-learning" style="font-size: 80%;">Explainable machine learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs067.html#quantum-machine-learning" style="font-size: 80%;">Quantum machine learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs068.html#quantum-machine-learning-algorithms-based-on-linear-algebra" style="font-size: 80%;">Quantum machine learning algorithms based on linear algebra</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs069.html#quantum-reinforcement-learning" style="font-size: 80%;">Quantum reinforcement learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs070.html#quantum-deep-learning" style="font-size: 80%;">Quantum deep learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs071.html#social-machine-learning" style="font-size: 80%;">Social machine learning</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs072.html#the-last-words" style="font-size: 80%;">The last words?</a></li>
<!-- navigation toc: --> <li><a href="._week48-bs073.html#best-wishes-to-you-all-and-thanks-so-much-for-your-heroic-efforts-this-semester" style="font-size: 80%;">Best wishes to you all and thanks so much for your heroic efforts this semester</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div> <!-- end of navigation bar -->
<div class="container">
<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p> <!-- add vertical space -->
<a name="part0000"></a>
<!-- ------------------- main content ---------------------- -->
<div class="jumbotron">
<center>
<h1>Week 48: Gradient boosting and summary of course</h1>
</center> <!-- document title -->
<!-- author(s): Morten Hjorth-Jensen -->
<center>
<b>Morten Hjorth-Jensen</b>
</center>
<!-- institution -->
<center>
<b>Department of Physics and Center for Computing in Science Education, University of Oslo, Norway</b>
</center>
<br>
<center>
<h4>Nov 25, 2024</h4>
</center> <!-- date -->
<br>
<p><a href="._week48-bs001.html" class="btn btn-primary btn-lg">Read &raquo;</a></p>
</div> <!-- end jumbotron -->
<p>
<!-- navigation buttons at the bottom of the page -->
<ul class="pagination">
<li class="active"><a href="._week48-bs000.html">1</a></li>
<li><a href="._week48-bs001.html">2</a></li>
<li><a href="._week48-bs002.html">3</a></li>
<li><a href="._week48-bs003.html">4</a></li>
<li><a href="._week48-bs004.html">5</a></li>
<li><a href="._week48-bs005.html">6</a></li>
<li><a href="._week48-bs006.html">7</a></li>
<li><a href="._week48-bs007.html">8</a></li>
<li><a href="._week48-bs008.html">9</a></li>
<li><a href="._week48-bs009.html">10</a></li>
<li><a href="">...</a></li>
<li><a href="._week48-bs073.html">74</a></li>
<li><a href="._week48-bs001.html">&raquo;</a></li>
</ul>
<!-- ------------------- end of main content --------------- -->
</div> <!-- end container -->
<!-- include javascript, jQuery *first* -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<!-- Bootstrap footer
<footer>
<a href="https://..."><img width="250" align=right src="https://..."></a>
</footer>
-->
<center style="font-size:80%">
<!-- copyright --> &copy; 1999-2024, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license
</center>
</body>
</html>