{"id":3337,"date":"2019-05-23T19:16:07","date_gmt":"2019-05-23T17:16:07","guid":{"rendered":"https:\/\/geekosas.com\/?p=3337"},"modified":"2026-05-23T19:16:52","modified_gmt":"2026-05-23T17:16:52","slug":"r-and-super-powerful-pcs","status":"publish","type":"post","link":"https:\/\/geekosas.com\/index.php\/2019\/05\/23\/r-and-super-powerful-pcs\/","title":{"rendered":"R and super-powerful PCs"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">R and Python are very popular lately, but have you asked yourself if you are getting the most out of these languages? In fact, you probably have a super\u2011powerful PC to work with them. Well, the truth is that if you are entering the world of Analytics, you might not be doing it optimally yet. Today I will show an example of the performance of different linear algebra libraries in R.<\/p>\n\n\n<p class=\"wp-block-paragraph\">Linear algebra libraries are not packages you install; they are tunings applied directly to R&#8217;s files. When chosen correctly, they allow you to use all the processors on your PC; otherwise, you will only use one.<\/p>\n\n\n<p class=\"wp-block-paragraph\">In this comparison, we will look at the following libraries for R:<\/p>\n\n\n<ul class=\"wp-block-list\"><li><strong>blas<\/strong>: the default one that is single\u2011threaded.<\/li><li><strong>openblas<\/strong>: the generic one for parallelization.<\/li><li><strong>openblas-lapack<\/strong>: generalized openblas for more languages, e.g., Python.<\/li><li><strong>intel-mkl<\/strong>: Intel&#8217;s optimized LAPACK for Intel processors.<\/li><li><strong>open-r<\/strong>: the LAPACK included in Microsoft R Open.<\/li><\/ul>\n\n\n<h3 class=\"wp-block-heading\">The experiment:<\/h3>\n\n\n<p class=\"wp-block-paragraph\">We will run 3 tests for matrices of different sizes. Each test is performed 100 times for 10 sizes of square matrices ranging from 100 to 1000 columns. The median of each result is then plotted.<\/p>\n\n\n<p class=\"wp-block-paragraph\">The test was run on an AWS c5.4xlarge instance with 16 latest\u2011generation processors.<\/p>\n\n\n<h4 class=\"wp-block-heading\">Test 1: Inverting a matrix:<\/h4>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2218\" height=\"1665\" data-attachment-id=\"2640\" data-permalink=\"https:\/\/geekosas.com\/index.php\/es\/2019\/02\/12\/r-y-pc-superdorerosos\/solve-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve.png?fit=2218%2C1665&amp;ssl=1\" data-orig-size=\"2218,1665\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"solve\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve.png?fit=1024%2C769&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/www.geekosas.com\/wp-content\/uploads\/2019\/02\/solve.png?fit=810%2C608\" alt=\"\" class=\"wp-image-2640\" srcset=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve.png?w=2218&amp;ssl=1 2218w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve.png?resize=768%2C577&amp;ssl=1 768w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve.png?resize=1024%2C769&amp;ssl=1 1024w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve.png?resize=880%2C660&amp;ssl=1 880w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve.png?w=2000&amp;ssl=1 2000w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">Clearly the default BLAS LAPACK lags behind; this is expected because it uses only one of the 16 CPUs. Below is the graph without BLAS.<\/p>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2218\" height=\"1665\" data-attachment-id=\"2641\" data-permalink=\"https:\/\/geekosas.com\/index.php\/es\/2019\/02\/12\/r-y-pc-superdorerosos\/solve_sin_blas\/\" data-orig-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve_sin_blas.png?fit=2218%2C1665&amp;ssl=1\" data-orig-size=\"2218,1665\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"solve_sin_blas\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve_sin_blas.png?fit=1024%2C769&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/www.geekosas.com\/wp-content\/uploads\/2019\/02\/solve_sin_blas.png?fit=810%2C608\" alt=\"\" class=\"wp-image-2641\" srcset=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve_sin_blas.png?w=2218&amp;ssl=1 2218w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve_sin_blas.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve_sin_blas.png?resize=768%2C577&amp;ssl=1 768w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve_sin_blas.png?resize=1024%2C769&amp;ssl=1 1024w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve_sin_blas.png?resize=880%2C660&amp;ssl=1 880w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/solve_sin_blas.png?w=2000&amp;ssl=1 2000w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n\n\n<h4 class=\"wp-block-heading\">Test 2: Squaring a matrix.<\/h4>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2218\" height=\"1665\" data-attachment-id=\"2643\" data-permalink=\"https:\/\/geekosas.com\/index.php\/es\/2019\/02\/12\/r-y-pc-superdorerosos\/prod\/\" data-orig-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod.png?fit=2218%2C1665&amp;ssl=1\" data-orig-size=\"2218,1665\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"prod\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod.png?fit=1024%2C769&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/www.geekosas.com\/wp-content\/uploads\/2019\/02\/prod.png?fit=810%2C608\" alt=\"\" class=\"wp-image-2643\" srcset=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod.png?w=2218&amp;ssl=1 2218w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod.png?resize=768%2C577&amp;ssl=1 768w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod.png?resize=1024%2C769&amp;ssl=1 1024w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod.png?resize=880%2C660&amp;ssl=1 880w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod.png?w=2000&amp;ssl=1 2000w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">Again BLAS is far behind in time, so we include the graph without it.<\/p>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2218\" height=\"1665\" data-attachment-id=\"2644\" data-permalink=\"https:\/\/geekosas.com\/index.php\/es\/2019\/02\/12\/r-y-pc-superdorerosos\/prod_sin_blas\/\" data-orig-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod_sin_blas.png?fit=2218%2C1665&amp;ssl=1\" data-orig-size=\"2218,1665\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"prod_sin_blas\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod_sin_blas.png?fit=1024%2C769&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.geekosas.com\/wp-content\/uploads\/2019\/02\/prod_sin_blas.png?fit=810%2C608\" alt=\"\" class=\"wp-image-2644\" srcset=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod_sin_blas.png?w=2218&amp;ssl=1 2218w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod_sin_blas.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod_sin_blas.png?resize=768%2C577&amp;ssl=1 768w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod_sin_blas.png?resize=1024%2C769&amp;ssl=1 1024w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod_sin_blas.png?resize=880%2C660&amp;ssl=1 880w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prod_sin_blas.png?w=2000&amp;ssl=1 2000w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n<h4 class=\"wp-block-heading\">Test 3: Principal Components:<\/h4>\n\n\n<p class=\"wp-block-paragraph\">This was a heavier test than the previous ones, making performance really relevant for large matrices.<\/p>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2218\" height=\"1665\" data-attachment-id=\"2645\" data-permalink=\"https:\/\/geekosas.com\/index.php\/es\/2019\/02\/12\/r-y-pc-superdorerosos\/prcomp\/\" data-orig-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp.png?fit=2218%2C1665&amp;ssl=1\" data-orig-size=\"2218,1665\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"prcomp\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp.png?fit=1024%2C769&amp;ssl=1\" src=\"https:\/\/i2.wp.com\/www.geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp.png?fit=810%2C608\" alt=\"\" class=\"wp-image-2645\" srcset=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp.png?w=2218&amp;ssl=1 2218w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp.png?resize=768%2C577&amp;ssl=1 768w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp.png?resize=1024%2C769&amp;ssl=1 1024w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp.png?resize=880%2C660&amp;ssl=1 880w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp.png?w=2000&amp;ssl=1 2000w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n<p class=\"wp-block-paragraph\">And as usual, the graph without our friend BLAS.<\/p>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"2218\" height=\"1665\" data-attachment-id=\"2646\" data-permalink=\"https:\/\/geekosas.com\/index.php\/es\/2019\/02\/12\/r-y-pc-superdorerosos\/prcomp_sin_blas\/\" data-orig-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp_sin_blas.png?fit=2218%2C1665&amp;ssl=1\" data-orig-size=\"2218,1665\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"prcomp_sin_blas\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp_sin_blas.png?fit=1024%2C769&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/www.geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp_sin_blas.png?fit=810%2C608\" alt=\"\" class=\"wp-image-2646\" srcset=\"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp_sin_blas.png?w=2218&amp;ssl=1 2218w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp_sin_blas.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp_sin_blas.png?resize=768%2C577&amp;ssl=1 768w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp_sin_blas.png?resize=1024%2C769&amp;ssl=1 1024w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp_sin_blas.png?resize=880%2C660&amp;ssl=1 880w, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/prcomp_sin_blas.png?w=2000&amp;ssl=1 2000w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n<h3 class=\"wp-block-heading\">Conclusions:<\/h3>\n\n\n<p class=\"wp-block-paragraph\">The difference between any optimized LAPACK and the default one that comes with R is enormous. But when you really want the best performance, the general recommendation is to go with Intel MKL or Microsoft R Open.<\/p>\n\n\n<p class=\"wp-block-paragraph\">An interesting thing about Intel MKL is that it can also be integrated into Python libraries like Pandas, scikit\u2011learn, etc.<\/p>\n\n\n<p class=\"wp-block-paragraph\">In the future I hope to do other comparisons to show how to get the most out of your PC, but with other methodologies.<\/p>\n\n\n<p class=\"wp-block-paragraph\">Cheers!<\/p>\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>R and Python are very popular lately, but have you asked yourself if you are getting the most out of these languages? In fact, you <a class=\"mh-excerpt-more\" href=\"https:\/\/geekosas.com\/index.php\/2019\/05\/23\/r-and-super-powerful-pcs\/\" title=\"R and super-powerful PCs\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":2648,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-3337","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sin-categoria"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/02\/2922898-a.jpg?fit=350%2C350&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8vjqF-RP","jetpack-related-posts":[{"id":3304,"url":"https:\/\/geekosas.com\/index.php\/2017\/05\/23\/r-vs-ms-open-r-2\/","url_meta":{"origin":3337,"position":0},"title":"R vs MS open R","author":"Daniel Fischer","date":"2017-05-23","format":false,"excerpt":"Microsoft has realized the power of R, so it has integrated it into its systems, including Power BI and SQL Server 2017. Microsoft released a free version of R with some improvements, including native SQL Server connection, package versioning in MRAN (Microsoft Cran), and optimizations in the linear algebra package.\u2026","rel":"","context":"In &quot;Sin categor\u00eda&quot;","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/geekosas.com\/index.php\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.geekosas.com\/wp-content\/uploads\/2017\/10\/lm-1024x932.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.geekosas.com\/wp-content\/uploads\/2017\/10\/lm-1024x932.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.geekosas.com\/wp-content\/uploads\/2017\/10\/lm-1024x932.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.geekosas.com\/wp-content\/uploads\/2017\/10\/lm-1024x932.png?resize=700%2C400 2x"},"classes":[]},{"id":3243,"url":"https:\/\/geekosas.com\/index.php\/2026\/05\/09\/comparison-between-julia-python-and-r\/","url_meta":{"origin":3337,"position":1},"title":"Comparison between Julia, Python, and R","author":"Daniel Fischer","date":"2026-05-09","format":false,"excerpt":"The discussion about which language is best for data analysis can lead to conversations more passionate than topics like religion or politics. But as Data Scientists we must focus on empirical evidence; the dimensions for comparison are many: Community, Performance, Editors, Package Manager, Code Encapsulation, etc. I have evaluated several\u2026","rel":"","context":"In &quot;Sin categor\u00eda&quot;","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/geekosas.com\/index.php\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2019\/09\/external-content.duckduckgo.com_.jpg?fit=474%2C312&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3232,"url":"https:\/\/geekosas.com\/index.php\/2026\/05\/11\/hasta-cuanto-sabe-contar-el-ordenador-2\/","url_meta":{"origin":3337,"position":2},"title":"How well can a computer count?","author":"Daniel Fischer","date":"2026-05-11","format":false,"excerpt":"My 2-year-old son knows how to count up to 10; after that he starts to \u201cimprovise,\u201d so I can say he knows how to count up to 10. With computers it is similar: if you repeatedly add 1 to a number, eventually the PC will make a mistake. Yes, the\u2026","rel":"","context":"In &quot;Sin categor\u00eda&quot;","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/geekosas.com\/index.php\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2021\/10\/vocab-10256-counting.jpg?fit=800%2C460&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2021\/10\/vocab-10256-counting.jpg?fit=800%2C460&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2021\/10\/vocab-10256-counting.jpg?fit=800%2C460&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2021\/10\/vocab-10256-counting.jpg?fit=800%2C460&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3235,"url":"https:\/\/geekosas.com\/index.php\/2020\/05\/23\/best-practices-when-programming-with-code\/","url_meta":{"origin":3337,"position":3},"title":"Best Practices When Programming (with code)","author":"Daniel Fischer","date":"2020-05-23","format":false,"excerpt":"Best Practices When Programming (with code) Many enjoy programming and solving algorithmic mazes in their favorite language, but what nobody likes is diving into old code or even worse, code written by someone else. I've had to do it several times, sometimes it was bad, other times worse, many times\u2026","rel":"","context":"In &quot;Sin categor\u00eda&quot;","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/geekosas.com\/index.php\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2022\/05\/logo.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2022\/05\/logo.png?fit=1200%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2022\/05\/logo.png?fit=1200%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2022\/05\/logo.png?fit=1200%2C600&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2022\/05\/logo.png?fit=1200%2C600&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":3296,"url":"https:\/\/geekosas.com\/index.php\/2017\/05\/23\/i-will-teach-an-r-course\/","url_meta":{"origin":3337,"position":4},"title":"I will teach an R course.","author":"Daniel Fischer","date":"2017-05-23","format":false,"excerpt":"The course will be at Microsoft Chile on September 22: The R Intensive is an event designed for those who have data analysis and modeling needs in their work and want to gain in 1 day the theoretical and practical knowledge to start solving their analytical challenges with this tool.\u2026","rel":"","context":"In &quot;Sin categor\u00eda&quot;","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/geekosas.com\/index.php\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2016\/11\/RStudio-Ball.png?fit=1000%2C1000&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2016\/11\/RStudio-Ball.png?fit=1000%2C1000&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2016\/11\/RStudio-Ball.png?fit=1000%2C1000&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2016\/11\/RStudio-Ball.png?fit=1000%2C1000&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3311,"url":"https:\/\/geekosas.com\/index.php\/2017\/05\/23\/step-forward-attribute-selection-in-r\/","url_meta":{"origin":3337,"position":5},"title":"Step Forward Attribute Selection in R","author":"Daniel Fischer","date":"2017-05-23","format":false,"excerpt":"I made a video in English that explains how to program a step forward attribute selection for linear regressions in R. https:\/\/www.youtube.com\/watch?v=P5ufV7ZqTUk&feature=youtu.be \u00a0","rel":"","context":"In &quot;Sin categor\u00eda&quot;","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/geekosas.com\/index.php\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/geekosas.com\/wp-content\/uploads\/2017\/11\/400px-Linear_regression.svg_.png?fit=400%2C265&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/geekosas.com\/index.php\/wp-json\/wp\/v2\/posts\/3337","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekosas.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekosas.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekosas.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geekosas.com\/index.php\/wp-json\/wp\/v2\/comments?post=3337"}],"version-history":[{"count":1,"href":"https:\/\/geekosas.com\/index.php\/wp-json\/wp\/v2\/posts\/3337\/revisions"}],"predecessor-version":[{"id":3338,"href":"https:\/\/geekosas.com\/index.php\/wp-json\/wp\/v2\/posts\/3337\/revisions\/3338"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/geekosas.com\/index.php\/wp-json\/wp\/v2\/media\/2648"}],"wp:attachment":[{"href":"https:\/\/geekosas.com\/index.php\/wp-json\/wp\/v2\/media?parent=3337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekosas.com\/index.php\/wp-json\/wp\/v2\/categories?post=3337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekosas.com\/index.php\/wp-json\/wp\/v2\/tags?post=3337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}