--Jean Arreola--Personal website with all my crazy ideas.
http://jean9208.github.io/
Wed, 29 Mar 2017 06:43:30 +0000Wed, 29 Mar 2017 06:43:30 +0000Jekyll v3.4.3Gradient Descent<h2 id="trying-gradient-descent-for-linear-regression">Trying gradient descent for linear regression</h2> <p>The best way to learn an algorith is to code it. So here it is, my take on Gradient Descent Algorithm for simple linear regression.</p> <p>First, we fit a simple linear model with lm for comparison with gradient descent values.</p> <div class="language-r highlighter-rouge"><pre class="highlight"><code><span class="c1">#Load libraries </span><span class="w"> </span><span class="n">library</span><span class="p">(</span><span class="n">dplyr</span><span class="p">)</span><span class="w"> </span><span class="n">library</span><span class="p">(</span><span class="n">highcharter</span><span class="p">)</span><span class="w"> </span><span class="c1">#Scaling length variables from iris dataset. </span><span class="w"> </span><span class="n">iris_demo</span><span class="w"> </span><span class="o"><-</span><span class="w"> </span><span class="n">iris</span><span class="p">[,</span><span class="nf">c</span><span class="p">(</span><span class="s2">"Sepal.Length"</span><span class="p">,</span><span class="s2">"Petal.Length"</span><span class="p">)]</span><span class="w"> </span><span class="o">%>%</span><span class="w"> </span><span class="n">mutate</span><span class="p">(</span><span class="n">sepal_length</span><span class="w">...Wed, 29 Mar 2017 00:00:00 +0000
http://jean9208.github.io/gradient_descent/
http://jean9208.github.io/gradient_descent/RHighchartsAlgorithmsBuilding a pokemon graph database<h2 id="what-happens-when-you-combine-pokemon-with-neo4j">What happens when you combine Pokemon with Neo4j?</h2> <p>I’m a huge Pokemon fan. So, when I found about <a href="http://jkunst.com/r/pokemon-visualize-em-all/">this awesome post</a> from <em>Joshua Kunst</em>, I just couldn’t wait to throw all that data into Neo4j.</p> <p>It also happens to be a great way to learn how to build a graph database from scratch. The objective of this exercise is to build a graph database where the nodes are the pokemon and the types, and the relationships are the effectiveness between the pokemon based only on their types.</p> <h2 id="getting-the-data">Getting the data</h2> <p>First of all, be sure to check...Mon, 13 Feb 2017 00:00:00 +0000
http://jean9208.github.io/pokemon_graph/
http://jean9208.github.io/pokemon_graph/RNeo4jPokemonR-Bloggers<h2 id="what-is-r-bloggers">What is R-Bloggers?</h2>
<p>R-Bloggers is a blog aggregator of content about R. You can find tons of cool stuff, like statistics, web scraping, finance, plots, etc.</p>
<p>Finally this blog was accepted into R-Bloggers! I encourage you to follow R-Bloggers. It is updated everyday and all the post are interesting.</p>
<p>You can enter R-Bloggers <a href="https://www.r-bloggers.com/">following this link</a>.</p>
<p>Also be sure to check this <a href="https://www.r-users.com">job-board</a> for R-users.</p>
Sun, 12 Feb 2017 00:00:00 +0000
http://jean9208.github.io/welcome_rbloggers/
http://jean9208.github.io/welcome_rbloggers/NewsNews