Showing posts with label data science. Show all posts
Showing posts with label data science. Show all posts
Tuesday, March 03, 2020
Wednesday, July 04, 2018
Sunday, October 09, 2016
Real-World Machine Learning
I find this book very helpful. The introduction chapter is freely available.
Friday, July 01, 2016
Microsoft Analytics in 2016
Here is a thorough introduction of data science solution offered by Microsoft.
Tuesday, January 19, 2016
Notebook interface for everything
Zeppelin provides a unified interface for nearly all the major data process engines, including Spark. I quickly set it up on a virtual machine and gave it a test run. It works great.
This one has SparkR support built-in.
I was never really into the ipython/jupyter notebook mainly because there is nothing they can do that a good IDE such as PyCharm or Rodeo cannot. Zeppelin is different because its capability of tightly integrating different Spark front-ends, including Scala, Python, and R is uniquely powerful. I would call this revolutionary.
This one has SparkR support built-in.
I was never really into the ipython/jupyter notebook mainly because there is nothing they can do that a good IDE such as PyCharm or Rodeo cannot. Zeppelin is different because its capability of tightly integrating different Spark front-ends, including Scala, Python, and R is uniquely powerful. I would call this revolutionary.
Sunday, June 14, 2015
How to use SparkR within Rstudio?
Setting up Spark and SparkR is quite easy (assume you are running v.1.4): just grab one of the pre-built binaries and unzip to a folder. There is also a shell script to start SparkR from command line. The document suggest to put the following lines
Sys.setenv(SPARK_HOME="/home/shige/bin/spark")
.libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"), .libPaths()))
library(SparkR)
sc <- sparkR.init(master="local")
into the .Rprofile file. This, however, has the undesirable side effect of adding yet another directory to which R packages can be installed.
My solution is:
1. Create a soft link of the SparkR directory in the the directory where other R packages are installed (ln -s /home/shige/bin/spark/R/lib/ SparkR /home/shige/R/x86_64-pc-linux- gnu-library/3.2)
2. Add (Sys.setenv(SPARK_HOME="/home/shige/bin/spark")) to the .Rprofile file.
3. Add (Sys.setenv(SPARKR_SUBMIT_ARGS ='"--packages" "com.databricks:spark-csv_2.10:1.0.3" "sparkr-shell"')) to the .Rprofile.
All set.
Sys.setenv(SPARK_HOME="/home/shige/bin/spark")
.libPaths(c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib"), .libPaths()))
library(SparkR)
sc <- sparkR.init(master="local")
into the .Rprofile file. This, however, has the undesirable side effect of adding yet another directory to which R packages can be installed.
My solution is:
1. Create a soft link of the SparkR directory in the the directory where other R packages are installed (ln -s /home/shige/bin/spark/R/lib/
2. Add (Sys.setenv(SPARK_HOME="/home/shige/bin/spark")) to the .Rprofile file.
3. Add (Sys.setenv(SPARKR_SUBMIT_ARGS ='"--packages" "com.databricks:spark-csv_2.10:1.0.3" "sparkr-shell"')) to the .Rprofile.
All set.
Thursday, May 14, 2015
Great R packages for data import, wrangling & visualization
Nice summary of useful R packages, a few of which are unfamiliar to me before.
Thursday, October 16, 2014
Shiny, ggvis, and rmarkdown
I have been using rmarkdown in my research and really enjoyed it. I also tried to get my head around shiny and ggvis. I can understand what they do but, compared to rmarkdown, dplyr, and ggplot2, they seemed less relevant. Yesterday I went to the R-Day of the Strata+Hadoop meeting and the presentations made by Winston Chang and Garrett Grolemund really changed my opinion. And the timing is perfect: now I have strong incentive to incorporate both technologies into my Advanced Analytics course in the Spring of 2015.
According to Hadley Wichham, the author of dplyr and a number of other excellent packages, the next version of dplyr will have a function for recoding.
According to Hadley Wichham, the author of dplyr and a number of other excellent packages, the next version of dplyr will have a function for recoding.
Wednesday, August 27, 2014
Wednesday, July 16, 2014
Tuesday, July 08, 2014
Will it Python?
Will It Python provides Python translation of the R code used in Machine Learning for Hackers.
Subscribe to:
Posts (Atom)