Book description
What you’ll learn—and how you can apply it
You’ll learn how to optimize your tried and tested code.
In this Lesson, learners will understand how to profile code to identify and prevent key bottlenecks in R performance, as well as tricks that may improve performance on row and column operations and matrices. This Lesson also presents an example of specific improvements that can be made to enhance performance of the movie_square() function.
This lesson is for you because
You already have well-developed code that is mature conceptually and has been tried and tested. Now, you want to optimize this code.
Prerequisites:
Some knowledge of R and have well-developed R code
Materials or downloads needed:
- Installed RStudio
- Some examples in this Lesson require a working C++ compiler
Publisher resources
Product information
- Title: Efficient R optimization
- Author(s):
- Release date: December 2016
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491979501
You might also like
book
Nonlinear Parameter Optimization Using R Tools
Nonlinear Parameter Optimization Using R John C. Nash, Telfer School of Management, University of Ottawa, Canada …
book
Functional Data Structures in R: Advanced Statistical Programming in R
Get an introduction to functional data structures using R and write more effective code and gain …
book
Nonparametric Statistical Methods Using R
This book covers traditional nonparametric methods and rank-based analyses, including estimation and inference for models ranging …
book
R: Unleash Machine Learning Techniques
Find out how to build smarter machine learning systems with R. Follow this three module course …