Пікірлер
@zephyrthesearchrescuedog8358
@zephyrthesearchrescuedog8358 7 күн бұрын
Doesn't Hadley recommend the base pipe instead now? |>
@BusinessScience
@BusinessScience 3 күн бұрын
No idea. The base pipe has some limitations. Like not working with the dot operator. So I stick with what works. No need to complicate it by switching without a benefit (and possibly breaking code)
@gonzarizzo
@gonzarizzo 7 күн бұрын
Hello! Thank you for the content! I’m curious about which is the rstudio theme you are using. Could you share it? Thanks!
@BusinessScience
@BusinessScience 3 күн бұрын
Thanks! I believe it’s one of the dark themes that comes with RStudio
@krajco252
@krajco252 10 күн бұрын
Warning in install.packages : package ‘polars’ is not available (for R version 3.5.3) :( unlucky
@BusinessScience
@BusinessScience 3 күн бұрын
Polars is not on CRAN. You’ll need to install with GitHub.
@RenatoVargas
@RenatoVargas 10 күн бұрын
I just learned of the existence of the tidypolars package (from the R polars readme itself), which uses polars under the hood to "enable users to keep their existing tidyverse code while using polars in the background to benefit from large performance gains." That way, you can avoid going back and forth converting to tibble.
@RenatoVargas
@RenatoVargas 10 күн бұрын
I was looking forward to this library. Thank you for sharing.
@BusinessScience
@BusinessScience 10 күн бұрын
@@RenatoVargas you got it!
@torispadewtd5494
@torispadewtd5494 10 күн бұрын
🔥🔥🔥
@torispadewtd5494
@torispadewtd5494 10 күн бұрын
🔥🔥🔥
@tighthead03
@tighthead03 10 күн бұрын
where can I get the data for this lab?
@BusinessScience
@BusinessScience 10 күн бұрын
When you join learning labs pro, you get code, data, and replay for this lab. We have 95 data science labs now. university.business-science.io/p/learning-labs-pro
@ArneHenningsen
@ArneHenningsen 11 күн бұрын
BTW: ‘polars’ is a *package*, not a library…
@BusinessScience
@BusinessScience 10 күн бұрын
No it’s a library.
@ArneHenningsen
@ArneHenningsen 10 күн бұрын
@@BusinessScience Well, the library() command loads an R *package* (e.g., the 'polars' package), which must be available in a library (tree) and which may link to (shared/dynamic/static) libraries, as explained in the introduction to the official R documentation "Writing R Extensions": "A package is a directory of files which extend R, a source package (the master files of a package), or a tarball containing the files of a source package, or an installed package, the result of running R CMD INSTALL on a source package. On some platforms (notably macOS and ‘x86_64’ Windows) there are also binary packages, a zip file or tarball containing the files of an installed package which can be unpacked rather than installing from sources. A package is not1 a library. The latter is used in two senses in R documentation. A directory into which packages are installed, e.g. /usr/lib/R/library: in that sense it is sometimes referred to as a library directory or library tree (since the library is a directory which contains packages as directories, which themselves contain directories). That used by the operating system, as a shared, dynamic or static library or (especially on Windows) a DLL, where the second L stands for ‘library’. Installed packages may contain compiled code in what is known on Unix-alikes as a shared object and on Windows as a DLL. The concept of a shared library (dynamic library on macOS) as a collection of compiled code to which a package might link is also used, especially for R itself on some platforms. On most platforms these concepts are interchangeable (shared objects and DLLs can both be loaded into the R process and be linked against), but macOS distinguishes between shared objects (extension .so) and dynamic libraries (extension .dylib)." cran.r-project.org/doc/manuals/R-exts.html
@joshstat8114
@joshstat8114 3 күн бұрын
@@BusinessScience to be more precise, a NAMESPACE and a module
@joshstat8114
@joshstat8114 12 күн бұрын
Yes, I really like Polars now and made me dislike Pandas, and that's because Polars has more readable syntaxes than Pandas, no I never like Pandas from the start. Maybe you can try tidypolars.
@alelust7170
@alelust7170 12 күн бұрын
I think it's ridiculous how the market is trying to make Python the dominant language for data science, especially since they're basically copying the tidyverse syntax. All of this just because data engineers and architects don't know R and how it's evolved over time.
@Aaqib..
@Aaqib.. 11 күн бұрын
Couldn't agree more
@BusinessScience
@BusinessScience 10 күн бұрын
This is true.
@Chris-rm1pn
@Chris-rm1pn 12 күн бұрын
I wonder how does it compare to data.table 🤔
@exshenanigan2333
@exshenanigan2333 12 күн бұрын
You can't tell me they didn't name it "PolaRs"
@PedroOliveira-ez2ni
@PedroOliveira-ez2ni 12 күн бұрын
They missed the opportunity of doing something extremely funny 😭😭😭😭
@BusinessScience
@BusinessScience 12 күн бұрын
lol what a missed opportunity 😅
@Aaqib..
@Aaqib.. 11 күн бұрын
😢😂
@MsSoapify
@MsSoapify 14 күн бұрын
Ia there a way to automate this so that the script would run automatically with or without you needing to run it? I've tried using the cron library for R but was unsuccessful.
@TheOttozone1
@TheOttozone1 14 күн бұрын
So many different versions of python "dplyr" to learn within Python. I just like my happy tidyverse.
@sinan_islam
@sinan_islam 14 күн бұрын
Python is like re-inventing the wheel. We are copying the science of R from an interpreted language to another interpreted language. What a waste of time and effort.
@djangoworldwide7925
@djangoworldwide7925 16 күн бұрын
the two first comments are essentially what positron is about: [1] "Looks like Positron is copying R Studio" [2] "What are the differences between VS Code and Positron? I feel these are pretty similar." == Positron :) folks should be happy. Can't wait for them to fix the help bug
@djangoworldwide7925
@djangoworldwide7925 21 күн бұрын
Im struggling with defifning keyboard shortcuts. I love my Shift+X to toggle focus from console to script. In rstudio you had this keybind, i dont think it exists there (i mean even the option to set a switch focus between with one key)
@BusinessScience
@BusinessScience 18 күн бұрын
I’ll look into it and post another video next week.
@andersonandolfatofilho5100
@andersonandolfatofilho5100 21 күн бұрын
matt, can i use python and R at same time ? in rstudio (markdown) using reticulate i can do, some chunks R and some python, and interchange objects between then, for instance r.cars or py.cars, to change de type of objetc.
@BusinessScience
@BusinessScience 18 күн бұрын
Yes you can. I’ll work up some examples next week and post them.
@cristiancamiloamezquitabra9249
@cristiancamiloamezquitabra9249 23 күн бұрын
What are the differences between VS Code and Positron? I feel these are pretty similar.
@Adam-Antios
@Adam-Antios 20 күн бұрын
Positron is built on top of VS Code. Practically, it is a version of VS Code customized for Data Science.
@jjmyt13
@jjmyt13 16 күн бұрын
If you ever program in R or python in VSCode, it's kinda night and day. Positron feels more like an actual cross-language IDE, while VSCode feels more like its been kludged together after the fact.
@richardbennett4365
@richardbennett4365 25 күн бұрын
It's so WHITE. where's the darkie mode?
@richardbennett4365
@richardbennett4365 25 күн бұрын
There's nothing new. It's a fork of Code, which was bought by Microsoft some years ago with a skin of RStudio. Having plots showing in the same place is what marimo and juoyter are doing with Lab and notebooks now for years. It's just a rehash if what we already have, but if everyone likes this Posit-Ron from Posit, then that's just wonderful. 😮🎉😊
@WhySoBroke
@WhySoBroke 26 күн бұрын
Thanks for the video! Does Positron integrate with GitHub Copilot?
@johnkaruitha2527
@johnkaruitha2527 27 күн бұрын
I had a problem with R Studio not showing Quarto option from the FILE menu in Fedora. In Positron everything works. Now I can go back to my favorite OS
@stevensexton5801
@stevensexton5801 27 күн бұрын
Looks like Positron is copying R Studio
@BusinessScience
@BusinessScience 27 күн бұрын
Yes, but keep in mind it’s made by Posit (formerly RStudio). They rebranded.
@georgegl3192
@georgegl3192 3 күн бұрын
@@BusinessScience Being an R user, I see no advantage for Positron vs Rstudio. Is there any for me?
@SeanMissingham
@SeanMissingham 29 күн бұрын
Seems interesting but I'm wondering how this really differs from Jupyter extension on VSCode (or DataSpell, which I use)
@BusinessScience
@BusinessScience 27 күн бұрын
I use the Jupyter interactive, which does work well. But this has some advantages like the ability to interactively drill into Python objects via the Variables Explorer. The Database Connections tab is great too.
@AlexandreGontchiGontcharov
@AlexandreGontchiGontcharov 29 күн бұрын
Great video Matt! What are the benefits/lacks of Positron IDE vs Jupyter Notebooks for python? I'm a huge fan of Rstudio IDE and the ability to quickly double click into my data frames, explore columns etc... but I've always preferred the way that in Jupyter Notebooks the output/plot(s) will be displayed right below your code and then you can easily develop your train of thought and also easily debug/iterated.
@BusinessScience
@BusinessScience 29 күн бұрын
It’s not Jupyter. But you can do Jupyter inside it. Haven’t tried it yet to see advantages or disadvantages. Will do so soon.
@Aaqib..
@Aaqib.. 29 күн бұрын
Yeah, using it for a few days now, haven't used R studio since then. Love it so far
@BusinessScience
@BusinessScience 29 күн бұрын
It’s great!👍
@joseoscardelgadobautista2105
@joseoscardelgadobautista2105 29 күн бұрын
may be...
@matthewson8917
@matthewson8917 29 күн бұрын
This is truly an exciting news. I've been using RStudio and was considering switching to VScode due to its limited support for console management and server computing - and this would be a perfect fit. Thanks for sharing!
@BusinessScience
@BusinessScience 29 күн бұрын
Yep! Now you get the best of both worlds. 😊🙌
@YassineSouilmi
@YassineSouilmi 29 күн бұрын
Positron has no ssh support yet.
@matthewson8917
@matthewson8917 29 күн бұрын
@@YassineSouilmi It seems Posit team have this feature in mind. Hopefully soon!
@mugomuiruri2313
@mugomuiruri2313 29 күн бұрын
good man
@BusinessScience
@BusinessScience 29 күн бұрын
@@mugomuiruri2313 thank you!
@mugomuiruri2313
@mugomuiruri2313 29 күн бұрын
watching from remote area in africa
@Dominus_Ryder
@Dominus_Ryder 29 күн бұрын
Thanks for sharing Matt. However, if you exclusively code in R, what benefit does this offer over the regular Rstudio IDE?
@BusinessScience
@BusinessScience 29 күн бұрын
If you never plan to do multi-language or use Python at all, then there probably isn't a huge benefit for you to move. Rstudio IDE is designed for people like you who exclusively code in R, and it works really well. But, for me I've been doing a lot more in Python and R lately especially with AI so Positron will be a much lower barrier entry versus VSCode, especially for R users who are used to having everything taken care of with Rstudio (and things just working out of the box). Positron solves that and gives you VSCode Extensions and all the benefits of VSCode from what I can tell.
@LifelongStudentBelgium
@LifelongStudentBelgium 22 күн бұрын
@@BusinessSciencebut you can use miniconda and use python in your markdown reports (ioslides, pdfs, ppt) so?
@Dominus_Ryder
@Dominus_Ryder Ай бұрын
I don't understand how you were able to determine that city and fuel economy were highly correlated from looking at the decision tree?
@dredd6711
@dredd6711 Ай бұрын
Thanks for the informative and concise content. I just recently got into R so I'm definitely excited to learn these packages
@kingsleyosunkwo
@kingsleyosunkwo Ай бұрын
Great video. Very helpful
@pallaviharishchandre3021
@pallaviharishchandre3021 Ай бұрын
Extremely informative and well explained. Thank You!
@rappa753
@rappa753 Ай бұрын
Hey Matt 👋 Glad to hear that you're enjoying my content. And thank you for sharing my package 🎉
@BusinessScience
@BusinessScience Ай бұрын
You got it! Awesome package!📦 😀
@makemymarket1772
@makemymarket1772 Ай бұрын
Very profesional! You are my new favorite when it comes to learn data science ⚜️
@BusinessScience
@BusinessScience Ай бұрын
Thank you so much!! 😊
@sunilgupta2156
@sunilgupta2156 Ай бұрын
Many thanks for sharing this R Shiny video tip!
@BusinessScience
@BusinessScience Ай бұрын
You got it!
@makemymarket1772
@makemymarket1772 Ай бұрын
This video is amazing!!! Cant wait for the other parts, how do i subscribe to your newsletter? #bigfan
@BusinessScience
@BusinessScience Ай бұрын
Thanks so much!
@gizl1
@gizl1 Ай бұрын
Nice!
@M.J.TheGr8
@M.J.TheGr8 Ай бұрын
🤯🤯🤯
@BusinessScience
@BusinessScience Ай бұрын
It’s very cool
@naomihuntley786
@naomihuntley786 2 ай бұрын
Thank you so much for taking the time to make this video. You did an amazing job of breaking this all down so that I could understand each step!
@BusinessScience
@BusinessScience Ай бұрын
You’re welcome ☺️
@naomihuntley786
@naomihuntley786 2 ай бұрын
Thank you so much for taking the time to make this video. You did an amazing job of breaking this all down so I could easily understand :)
@RaulRivero-cl9rf
@RaulRivero-cl9rf 2 ай бұрын
Excellent condition rules transfer 24hora for bitbenzing Digital Larsen nuclear DNA forum platforms cloud red Latino certification orientation schools classroom digital money formulas RF detector alest contract alliance membership Balance Divino Domein
@Lykosys
@Lykosys 2 ай бұрын
The ClickFunnels pitch from 2011 makes me want to vomit. Also, no one commented that your optimal channel-mix was Search only? Should have been a massive red flag - no mention of channel incrementality
@aaakmm1785
@aaakmm1785 Ай бұрын
Can you elaborate? I also noticed that from the programming point of view this is useful material but interpretation of the results and instructions how to use the output is borderline harmful.
@Lykosys
@Lykosys Ай бұрын
@@aaakmm1785 The language and format of this video (especially after PyMC Labs leaves the call) is basically a word-for-word formula made popular in the early 2010's by ClickFunnels, made to make sales through a cringe script and landing page. The "Learn Python With Me" link in the description actually goes to a ClickFunnels landing page It's just an incredibly insulting way to be sold to, and in my opinion destroys the credibility of a creator. A good watch would be "The Contrepreneur Formula Exposed" by Mike Winnett
@jackyy.1542
@jackyy.1542 7 күн бұрын
@@Lykosys You are right. This guy is data science scam. Only goal is to sell class...
@gaurabhsinghvi5445
@gaurabhsinghvi5445 2 ай бұрын
I did a similar exercise and found that the mean own price elasticity turned out be positive in Random forest for my data. How do I handle it?
@ActiveeEdits
@ActiveeEdits 29 күн бұрын
I have no idea if this applies to the random forrest or any other ML techniques, but the estimated price elasticity, at least in the linear regression case will be biased. The reason is that price is endogenous. Maybe that is the reason?
@sanjaisrao484
@sanjaisrao484 2 ай бұрын
Thanks
@djangoworldwide7925
@djangoworldwide7925 2 ай бұрын
In 35:00 you said its a tanner feature, well, that is just not true, as far as I know. Putting that 'all_numeric()' is what told your model to not normalize your cat vars...
@asaflevif
@asaflevif 2 ай бұрын
0 18:20