These are the R Markdown documents produced during live analyses of #tidytuesday data.
dgrtwo / data-screencasts Goto Github PK
View Code? Open in Web Editor NEWCode from live exploratory analyses of data in R
Code from live exploratory analyses of data in R
These are the R Markdown documents produced during live analyses of #tidytuesday data.
in line ... show_metrics <- create_metrics(show_summarized)
it throws an error from my part. I am running the same code you shared.
The error is:-
Error in stringr::str_split(y$name, "_")[[1]] : subscript out of bounds
Hi, I really appreciate your screencast and have learned a lot from it. While studying your nyc-restaurants screencast code. I found out a place where the code breaks. It worked when you were doing the screencast, but it doesn't work at the moment, even after I tried to tweak it for a number of times. Hopefully, you can take a look and make some changes accordingly.
The first one is
cuisine_conf_ints <- by_dba %>% add_count(cuisine) %>% filter(n > 100) %>% nest(-cuisine) %>% mutate(model = map(data, ~ t.test(.$avg_score))) %>% unnest(map(model, tidy))
which throws me an error message Error: object 'model' not found
Thanks!
data-screencasts/ml-practice/board-games.Rmd
Line 398 in 3c806ef
Dear David,
There was a typo in the code. That's why the error with linear-reg and XGBoost was high on the Kaggle SLICED submission.
write_csv(attempt1, "~/Desktop/attempt3.csv")
It should have been.
write_csv(attempt3, "~/Desktop/attempt3.csv")
Could you please add a license to this repository?
Just loving the screencasts you have been doing
On the penguin code. I'm not sure if you want lines 924 onwards to be in your final version
I think the first few of these lines were overtaken by further analyses. If you want them in, you may want to include the code that creates the 'model' object: otherwise an error occurs
model <- logistic_reg(mode= "classification") %>%
set_engine("glm") %>%
fit(species ~ bill_length_mm, data= training_data)
From my recollection, the final part of the rmd is just you testing a vignette to understand a function and, though useful in your thought process and as a good tip, is not directly relevant to the penguin model
David,
Thanks, Another great screencast today.
Please push today's code up.
TX,
David
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.