Analyzing The Arduino Developer Community

John Bentley
Posted on Nov 15, 2018

The Idea

Arduino makes open source hardware and software (especially microcontrollers) for educational and prototyping purposes. Most people who know me know that I love playing with my Arduinos and Raspberry Pi. I've never really wanted to be an electrical engineer - I'm in it more for the coding and the artistic factor, but the tactile element of building something and the satisfaction of seeing your code come to life can hardly be overstated.

Arduino has a website where developers can host their code and designs. Other users can comments and pay "respects". It's called the Arduino Project Hub.

I have always been a little scared to post my projects to the official project hub, opting instead to leave the code on github and post about my favorite projects here. Most projects on the Arduino hub seem very well-built and garner many "views" and "respects" (equivalent to "likes"). In addition, many are published by veteran creators with many followers.

I wanted to hone my web-scraping skills, so I created a program to pull data on every project on the hub. I then tried to analyze the data I pulled to see if I could use any of the data to predict how well a project would do, defined as the ratio of how many people "respect" the project to how many people viewed it in total. I pulled each project's "tags" as well.

The Project

I used scrapy to scrape the entire site. Scrapy is very easy to use for simple sites like this. First, you identify the html tags associated with the element you are trying to pull from each project page. The tag ordered list is called the xpath. You can tell scrapy to pull a similar xpath (they may not be exactly identical so regular expressions come in handy) from each project page. It was very easy to use Chrome developer tools to find the xpath of the elements I wanted to pull, and the site design allowed me to quickly access all of the project pages sequentially thanks to an intuitive page-numering schema.

Check out the code repo.

For fun, I built a simple linear regression to help me to determine if how many followers a creator has affects the amount of respects per view that their projects receive. I made a shiny app that takes the user through the process of a multiple linear regression:

  • from data exploration,

  • to feature selection using variance inflation factor analysis (to help reduce multicolinearity),

  • and prediction using the model you just built.

I found little relationship between the ratio of respects per view of a project and its creator status, though veteran creators did receive more views. Check out the shiny app for yourself. Of course, there are other ML tecquniques we could try besides regression, but the data exploration stage does not lead me to have high hopes that there is much of a relationship to be found.

Given these results, I may decide to post some of my projects after all! It seems like the community is very welcoming to newcomers, since I am not able to reject the null hypothesis that there is no correlation between how experienced a developer you are and your project's "respect ratio".


About Author

John Bentley

John Bentley

I'm a data scientist with a wide suite of interests. I am skilled in machine learning, financial and scientific modeling, statistical analysis, leadership, and communication with team members and clients. I've worked for the Yale Department of Political...
View all posts by John Bentley >

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Day Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet linear regression Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python python machine learning python scrapy python web scraping python webscraping Python Workshop R R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp