Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kvarada committed Sep 6, 2023
1 parent ce22b00 commit 174690d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 40 deletions.
74 changes: 35 additions & 39 deletions lectures/Varada/01_intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -747,38 +747,38 @@ <h4>Predicting on unseen data using the trained model<a class="headerlink" href=
</div>
<div class="cell_output docutils container">
<div class="output text_html"><style type="text/css">
#T_e747e_row0_col0, #T_e747e_row0_col1, #T_e747e_row1_col0, #T_e747e_row1_col1, #T_e747e_row2_col0, #T_e747e_row2_col1, #T_e747e_row3_col0, #T_e747e_row3_col1 {
#T_8ef38_row0_col0, #T_8ef38_row0_col1, #T_8ef38_row1_col0, #T_8ef38_row1_col1, #T_8ef38_row2_col0, #T_8ef38_row2_col1, #T_8ef38_row3_col0, #T_8ef38_row3_col1 {
text-align: left;
}
</style>
<table id="T_e747e">
<table id="T_8ef38">
<thead>
<tr>
<th class="blank level0" >&nbsp;</th>
<th id="T_e747e_level0_col0" class="col_heading level0 col0" >sms</th>
<th id="T_e747e_level0_col1" class="col_heading level0 col1" >spam_predictions</th>
<th id="T_8ef38_level0_col0" class="col_heading level0 col0" >sms</th>
<th id="T_8ef38_level0_col1" class="col_heading level0 col1" >spam_predictions</th>
</tr>
</thead>
<tbody>
<tr>
<th id="T_e747e_level0_row0" class="row_heading level0 row0" >3245</th>
<td id="T_e747e_row0_col0" class="data row0 col0" >Funny fact Nobody teaches volcanoes 2 erupt, tsunamis 2 arise, hurricanes 2 sway aroundn no 1 teaches hw 2 choose a wife Natural disasters just happens</td>
<td id="T_e747e_row0_col1" class="data row0 col1" >ham</td>
<th id="T_8ef38_level0_row0" class="row_heading level0 row0" >3245</th>
<td id="T_8ef38_row0_col0" class="data row0 col0" >Funny fact Nobody teaches volcanoes 2 erupt, tsunamis 2 arise, hurricanes 2 sway aroundn no 1 teaches hw 2 choose a wife Natural disasters just happens</td>
<td id="T_8ef38_row0_col1" class="data row0 col1" >ham</td>
</tr>
<tr>
<th id="T_e747e_level0_row1" class="row_heading level0 row1" >944</th>
<td id="T_e747e_row1_col0" class="data row1 col0" >I sent my scores to sophas and i had to do secondary application for a few schools. I think if you are thinking of applying, do a research on cost also. Contact joke ogunrinde, her school is one me the less expensive ones</td>
<td id="T_e747e_row1_col1" class="data row1 col1" >ham</td>
<th id="T_8ef38_level0_row1" class="row_heading level0 row1" >944</th>
<td id="T_8ef38_row1_col0" class="data row1 col0" >I sent my scores to sophas and i had to do secondary application for a few schools. I think if you are thinking of applying, do a research on cost also. Contact joke ogunrinde, her school is one me the less expensive ones</td>
<td id="T_8ef38_row1_col1" class="data row1 col1" >ham</td>
</tr>
<tr>
<th id="T_e747e_level0_row2" class="row_heading level0 row2" >1044</th>
<td id="T_e747e_row2_col0" class="data row2 col0" >We know someone who you know that fancies you. Call 09058097218 to find out who. POBox 6, LS15HB 150p</td>
<td id="T_e747e_row2_col1" class="data row2 col1" >spam</td>
<th id="T_8ef38_level0_row2" class="row_heading level0 row2" >1044</th>
<td id="T_8ef38_row2_col0" class="data row2 col0" >We know someone who you know that fancies you. Call 09058097218 to find out who. POBox 6, LS15HB 150p</td>
<td id="T_8ef38_row2_col1" class="data row2 col1" >spam</td>
</tr>
<tr>
<th id="T_e747e_level0_row3" class="row_heading level0 row3" >2484</th>
<td id="T_e747e_row3_col0" class="data row3 col0" >Only if you promise your getting out as SOON as you can. And you'll text me in the morning to let me know you made it in ok.</td>
<td id="T_e747e_row3_col1" class="data row3 col1" >ham</td>
<th id="T_8ef38_level0_row3" class="row_heading level0 row3" >2484</th>
<td id="T_8ef38_row3_col0" class="data row3 col0" >Only if you promise your getting out as SOON as you can. And you'll text me in the morning to let me know you made it in ok.</td>
<td id="T_8ef38_row3_col1" class="data row3 col1" >ham</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -1004,9 +1004,6 @@ <h5>Building a supervise machine learning model<a class="headerlink" href="#buil
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
Expand All @@ -1032,9 +1029,8 @@ <h5>Building a supervise machine learning model<a class="headerlink" href="#buil
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
</pre></div>
</div>
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
[LightGBM] [Warning] No further splits with positive gain, best gain: -inf
Expand Down Expand Up @@ -1349,38 +1345,38 @@ <h4>Example 3: Predicting sentiment expressed in a movie review<a class="headerl
</div>
<div class="cell_output docutils container">
<div class="output text_html"><style type="text/css">
#T_27ab0_row0_col0, #T_27ab0_row0_col1, #T_27ab0_row1_col0, #T_27ab0_row1_col1, #T_27ab0_row2_col0, #T_27ab0_row2_col1, #T_27ab0_row3_col0, #T_27ab0_row3_col1 {
#T_03df0_row0_col0, #T_03df0_row0_col1, #T_03df0_row1_col0, #T_03df0_row1_col1, #T_03df0_row2_col0, #T_03df0_row2_col1, #T_03df0_row3_col0, #T_03df0_row3_col1 {
text-align: left;
}
</style>
<table id="T_27ab0">
<table id="T_03df0">
<thead>
<tr>
<th class="blank level0" >&nbsp;</th>
<th id="T_27ab0_level0_col0" class="col_heading level0 col0" >reviews</th>
<th id="T_27ab0_level0_col1" class="col_heading level0 col1" >sentiment_predictions</th>
<th id="T_03df0_level0_col0" class="col_heading level0 col0" >reviews</th>
<th id="T_03df0_level0_col1" class="col_heading level0 col1" >sentiment_predictions</th>
</tr>
</thead>
<tbody>
<tr>
<th id="T_27ab0_level0_row0" class="row_heading level0 row0" >11872</th>
<td id="T_27ab0_row0_col0" class="data row0 col0" >You'll feel like you've experienced a vacation in Hell after you have sat down and watched this horrible TV movie. This movie is an exercise in over-acting (very bad over-acting) to situations that made out to be more than what they are. I won't give away the plot, but once you realize why the people in this film are running from the native man in the film you will demand the two wasted hours of your life back. The only plus is seeing Marcia Brady running around in a bikini!</td>
<td id="T_27ab0_row0_col1" class="data row0 col1" >neg</td>
<th id="T_03df0_level0_row0" class="row_heading level0 row0" >11872</th>
<td id="T_03df0_row0_col0" class="data row0 col0" >You'll feel like you've experienced a vacation in Hell after you have sat down and watched this horrible TV movie. This movie is an exercise in over-acting (very bad over-acting) to situations that made out to be more than what they are. I won't give away the plot, but once you realize why the people in this film are running from the native man in the film you will demand the two wasted hours of your life back. The only plus is seeing Marcia Brady running around in a bikini!</td>
<td id="T_03df0_row0_col1" class="data row0 col1" >neg</td>
</tr>
<tr>
<th id="T_27ab0_level0_row1" class="row_heading level0 row1" >40828</th>
<td id="T_27ab0_row1_col0" class="data row1 col0" >Bela Lugosi gets to play one of his rare good guy roles in a serial based upon the long running radio hit (which was also the source of a feature film where Lugosi played the villain.) Lugosi cuts a fine dashing figure and its sad that he didn't get more roles where he could be the guy in command in a good way. Here Chandu returns from the East in order to help the Princess Nadji who is being hunted by the leaders of the cult of Ubasti who need her to bring back from the dead the high priestess of their cult. This is a good looking globe trotting serial that is a great deal of fun. To be certain the pacing is a bit slack, more akin to one of Principals (the producing studios) features then a rip roaring adventure, but it's still enjoyable. This plays better than the two feature films that were cut from it because it allows for things to happen at their own pace instead of feeling rushed or having a sense that "hey I missed something". One of the trilogy of three good serials Lugosi made, the others being SOS Coast Guard and Phantom Creeps</td>
<td id="T_27ab0_row1_col1" class="data row1 col1" >pos</td>
<th id="T_03df0_level0_row1" class="row_heading level0 row1" >40828</th>
<td id="T_03df0_row1_col0" class="data row1 col0" >Bela Lugosi gets to play one of his rare good guy roles in a serial based upon the long running radio hit (which was also the source of a feature film where Lugosi played the villain.) Lugosi cuts a fine dashing figure and its sad that he didn't get more roles where he could be the guy in command in a good way. Here Chandu returns from the East in order to help the Princess Nadji who is being hunted by the leaders of the cult of Ubasti who need her to bring back from the dead the high priestess of their cult. This is a good looking globe trotting serial that is a great deal of fun. To be certain the pacing is a bit slack, more akin to one of Principals (the producing studios) features then a rip roaring adventure, but it's still enjoyable. This plays better than the two feature films that were cut from it because it allows for things to happen at their own pace instead of feeling rushed or having a sense that "hey I missed something". One of the trilogy of three good serials Lugosi made, the others being SOS Coast Guard and Phantom Creeps</td>
<td id="T_03df0_row1_col1" class="data row1 col1" >pos</td>
</tr>
<tr>
<th id="T_27ab0_level0_row2" class="row_heading level0 row2" >36400</th>
<td id="T_27ab0_row2_col0" class="data row2 col0" >When you wish for the dragon to eat every cast member, you know you're in for a bad ride.<br /><br />I went in with very, very low expectations, having read some of the other comments, and was not let down. Unlike some other cheap and failed movies, however, this one doesn't really remain hilariously (and unintentionally) funny throughout.<br /><br />-SPOILERS FOLLOW-<br /><br />First of all, plot it very inconsistent. Looking past the "small" mistakes, such as the dragon growing up in 3 hours, the whole idea it's based on is messed up. See, the movie wants us to believe that dragons came from outer space in the form of meteorites which really were dragon eggs. After explaining this, they show some peasant poking at one with his pitchfork and the dragon pops out. Later, the obligatory "crazy scientist" guy babbles on about how dragons outlived the dinosaurs. So apparently humans were around when dinosaurs were, or we just have a fine little plot hole here. The other major thing is that the lab is blown up with a force "half as strong" as what was used for Hiroshima. Then two guys later walk in to check everything out, and it's almost unscathed! There's even another dragon, which grew out of who knows what. All in all it's very predictable. As soon as the guy mentioned cloning, I guessed they'd clone a dragon. That means that our Mr. Smarty-pants security guy isn't so intuitive and smart as the movie would have you believe, if you ignore that I knew this film would be about, you know, dragons.<br /><br />Putting that aside, the second worst thing is the "special effects." Others have mentioned the fake rocks falling during the beginning, the CG helicopter, and the dragon. It looks a bit better than a blob, but it ruined whatever it had going for it when it trudged down the hall in the same manner time after time. To their credit, the flying dragons in the beginning looked OK from far away (although the one in the cave is probably the worst one in the whole movie.) These things are funny to watch, however. The scenes where a million different shots of the same person facing different ways are shown are not. Nor are the "introduction" screens with the vital stats.<br /><br />Coming to the actors, they weren't the greatest, but I guess at least they tried? They seemed more enthusiastic about what they were doing than many of the actors participating in the recent "BloodRayne," for example, and you've got to give them points for that. One thing I noticed though was that the woman who plays Meredith often had her face covered in make-up that was many tones lighter than the rest of her. She looked like she had a bad run-in with some white-face.<br /><br />The script is bad and cheesy. You don't really notice the music, but it's actually not too bad for the most part.<br /><br />The bottom line is don't watch it unless you want to see it because you hear it's bad (like I did), although the only funny things are the bad CG effects. Other than that, don't waste your time and money.</td>
<td id="T_27ab0_row2_col1" class="data row2 col1" >neg</td>
<th id="T_03df0_level0_row2" class="row_heading level0 row2" >36400</th>
<td id="T_03df0_row2_col0" class="data row2 col0" >When you wish for the dragon to eat every cast member, you know you're in for a bad ride.<br /><br />I went in with very, very low expectations, having read some of the other comments, and was not let down. Unlike some other cheap and failed movies, however, this one doesn't really remain hilariously (and unintentionally) funny throughout.<br /><br />-SPOILERS FOLLOW-<br /><br />First of all, plot it very inconsistent. Looking past the "small" mistakes, such as the dragon growing up in 3 hours, the whole idea it's based on is messed up. See, the movie wants us to believe that dragons came from outer space in the form of meteorites which really were dragon eggs. After explaining this, they show some peasant poking at one with his pitchfork and the dragon pops out. Later, the obligatory "crazy scientist" guy babbles on about how dragons outlived the dinosaurs. So apparently humans were around when dinosaurs were, or we just have a fine little plot hole here. The other major thing is that the lab is blown up with a force "half as strong" as what was used for Hiroshima. Then two guys later walk in to check everything out, and it's almost unscathed! There's even another dragon, which grew out of who knows what. All in all it's very predictable. As soon as the guy mentioned cloning, I guessed they'd clone a dragon. That means that our Mr. Smarty-pants security guy isn't so intuitive and smart as the movie would have you believe, if you ignore that I knew this film would be about, you know, dragons.<br /><br />Putting that aside, the second worst thing is the "special effects." Others have mentioned the fake rocks falling during the beginning, the CG helicopter, and the dragon. It looks a bit better than a blob, but it ruined whatever it had going for it when it trudged down the hall in the same manner time after time. To their credit, the flying dragons in the beginning looked OK from far away (although the one in the cave is probably the worst one in the whole movie.) These things are funny to watch, however. The scenes where a million different shots of the same person facing different ways are shown are not. Nor are the "introduction" screens with the vital stats.<br /><br />Coming to the actors, they weren't the greatest, but I guess at least they tried? They seemed more enthusiastic about what they were doing than many of the actors participating in the recent "BloodRayne," for example, and you've got to give them points for that. One thing I noticed though was that the woman who plays Meredith often had her face covered in make-up that was many tones lighter than the rest of her. She looked like she had a bad run-in with some white-face.<br /><br />The script is bad and cheesy. You don't really notice the music, but it's actually not too bad for the most part.<br /><br />The bottom line is don't watch it unless you want to see it because you hear it's bad (like I did), although the only funny things are the bad CG effects. Other than that, don't waste your time and money.</td>
<td id="T_03df0_row2_col1" class="data row2 col1" >neg</td>
</tr>
<tr>
<th id="T_27ab0_level0_row3" class="row_heading level0 row3" >5166</th>
<td id="T_27ab0_row3_col0" class="data row3 col0" >Sorry, but Jacqueline Hyde (get it??? - Jack L and Hyde - Jekyll & Hyde) has some of the worst acting this side of hardcore porn, not to mention a script apparently written by a first-grader with undiagnosed learning disabilities.<br /><br />Jackie Hyde inherits an old mansion by a grandfather she never knew she had. Guess who? Yes, an inventor of the special formula that slowly takes over one's body and mind - yes, that Mr. Hyde! <br /><br />Despite some nice skin scenes, this film fails to register any feeling or emotion other than uncontrollable laughter.<br /><br />As much as poor Jackie tries she just can't stay away from granddaddy's special formula and the result is an hour and half of wasted time.</td>
<td id="T_27ab0_row3_col1" class="data row3 col1" >neg</td>
<th id="T_03df0_level0_row3" class="row_heading level0 row3" >5166</th>
<td id="T_03df0_row3_col0" class="data row3 col0" >Sorry, but Jacqueline Hyde (get it??? - Jack L and Hyde - Jekyll & Hyde) has some of the worst acting this side of hardcore porn, not to mention a script apparently written by a first-grader with undiagnosed learning disabilities.<br /><br />Jackie Hyde inherits an old mansion by a grandfather she never knew she had. Guess who? Yes, an inventor of the special formula that slowly takes over one's body and mind - yes, that Mr. Hyde! <br /><br />Despite some nice skin scenes, this film fails to register any feeling or emotion other than uncontrollable laughter.<br /><br />As much as poor Jackie tries she just can't stay away from granddaddy's special formula and the result is an hour and half of wasted time.</td>
<td id="T_03df0_row3_col1" class="data row3 col1" >neg</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -1560,7 +1556,7 @@ <h4>Example 4: Predicting housing prices<a class="headerlink" href="#example-4-p
</div>
</div>
<div class="cell_output docutils container">
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[LightGBM] [Warning] Auto-choosing row-wise multi-threading, the overhead of testing was 0.001600 seconds.
<div class="output stream highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>[LightGBM] [Warning] Auto-choosing row-wise multi-threading, the overhead of testing was 0.003042 seconds.
You can set `force_row_wise=true` to remove the overhead.
And if memory is not enough, you can set `force_col_wise=true`.
[LightGBM] [Info] Total Bins 2333
Expand Down
Loading

0 comments on commit 174690d

Please sign in to comment.