Published inTowards Data Science·3 days agoMember-onlyShow Streamlit Apps in your Medium BlogFollow this tutorial to put your apps online in Medium posts. — Introduction I love writing about Streamlit. I would say it is one of my favorite Python packages. Streamlit is a really easy to learn package that enables one to quickly create a dashboard, a web app, or even deploying a model into production. I wrote about it a couple of times…Streamlit5 min readStreamlit5 min read
Published inTowards Data Science·May 18Member-onlyGet Temperature Data by Location with PythonRetrieve historical temperature data by latitude and longitude. — Introduction I have been working on some projects when I needed to find the average temperature by location to be able to add that as a possible variable to my model. After some time researching, I found this great and easy-to-use package in Python called meteostat. This pack has some interesting…Temperature3 min readTemperature3 min read
Published inTowards Data Science·May 15Member-onlyMultilevel Regression with RUnderstanding the Hierarchical Linear Models from this simple explanation with examples — Introduction Regression models are out there for a long time now, much longer before Machine Learning was a thing. Statisticians have been using these models to understand the relationship between variables even before the 1900s, when Sir Francis Galton (1885) introduced the idea. Fortunately, the theory has developed so much since…Hlm9 min readHlm9 min read
Published inTowards Data Science·Apr 27Member-onlyError Handling in R and PythonIf an error comes up in the middle of a function, that can be handled — Introduction One thing is true: if you ever coded, you faced an error. Period. Errors are not always a bad thing. I agree that they can drive us mad sometimes, especially if we have looked the code over and over again without finding the bug. …Error Handling5 min readError Handling5 min read
Published inTowards Data Science·Apr 10Member-onlyCreating Scores and Rankings with PCAUse R Language to create scores for observations based on many variables — Introduction The more I study about Principal Component Analysis [PCA], the more I like that tool. I have already written other posts about this matter, but I keep learning more about what’s “under the hood” of this beautiful math and, of course, I will share that knowledge with you. PCA is…Principal Component9 min readPrincipal Component9 min read
Published inTowards Data Science·Mar 10Member-onlyQuick Text Sentiment Analysis with RUse TidyText to create a nice and quick text analysis with R — Introduction Text everywhere! Since the Internet was spread around the world, the amount of textual data we generate everyday is ginormous. Only textual messages sent everyday, it is estimated that there are around 18 Billion of them circulating on a daily basis*. Now imagine the amount of news generated as well…Text Mining9 min readText Mining9 min read
Published inTowards Data Science·Feb 28Member-onlyHow strongly associated are your variables?Use Cramer’s V test to check how strongly associated are two categorical variables — Introduction Feature selection is an important step for any data science project. …Python7 min readPython7 min read
Published inMLearning.ai·Feb 9Member-only7 Snippets to Make Your Code More ElegantTry these codes if you want to make your Python code cleaner and more readable. — I usually work with Python and R languages on my daily job. All of that “what’s the best programming language” rivalry aside, I like them both. …Python4 min readPython4 min read
Published inR-evolution·Feb 9Member-onlyUseful code snippets for R that every Data Scientist should knowA complete toolbox for those small tasks that we keep forgetting how to program. I work as a Data Scientist and I am constantly in contact — working or learning — with the latest technologies in the field. …Rstats5 min readRstats5 min read
Jan 25Member-onlyData Wrangling with RSneak peek into my new book released in February. A little of my history If you follow my Linkedin page, you may already be aware that I am about to release a book called Data Wrangling with R with Packt Publishing. The issuing date is February 23, 2023. …Data Wrangling5 min readData Wrangling5 min read