You will be presented with clear explanations of both topics as well as intuitive examples and code snippets. As always, I have included screenshots from the IDE as well as made a public git repository where you can access all the code referenced in the article. The code is also included in the article as Github Gists.
The first time I made a bar chart I could not immediately figure out how to add labels to the bars. Especially the horizontal bar charts were troublesome for me. So don’t worry if you also cannot make it work. In this post you will learn how this is done along with some tips and tricks for styling the diagram.
NOTE: If you only need to see how to add labels you can skip to the section: Creating bar charts with labels. …
You will learn about the differences between lists and sets in this article. You will also see a practical example where a set performs far better than a list does.
This post has the following structure:
The python list is a pretty cool data structure that has a lot of functionality. You might already be using lists, but do you know what makes python lists special? Compared to other programming languages Python lists allow give you a…
In this short guide you will learn how you can access data that is deeply nested in python’s lists and dictionary data structures.
You might have met the following errors while working with JSON data:
TypeError: list indices must be integers or slices, not str
If that is the case then this guide is for you, as you will learn some tricks for dealing with these situations.
This guide includes the following:
In this article I share my Medium stats for my first month and in the end I explain how my writing landed me an awesome data science job! With this story I hope to inspire you to begin your own journey and pursue the dreams that you have. Because it will probably turn out much better than you could ever imagine.
Yesterday, September the second, was the 1 month mark for my writing journey here on Medium, which began with my article: Starting my machine learning journey!
If you had asked me back then what I expected would come of…
You will enjoy this article if you are curious about data science and whether or not it is right for you. Or if you already are a data scientist and just want to hear your profession be showered with compliments and words of fascination.
Data science is an awesome area of work because:
When doing data science you feel like a detective or an explorer searching for clues and hints. For me, that is extremely thrilling. You know that the data in front of you contains useful information, and it is up to you to find out what it…
You will learn how to use the data sets from UCI that come with the .data file type in this quick article.
Kaggle.com is a great choice for finding data to use in your data science projects. The site is filled with interesting data sets, notebooks from other scientists and tutorials. All the data sets I have encountered on Kaggle have been .csv files, this is very convenient when working with pandas.
You might wonder (at least I did) if Kaggle is the only place where data can be found.
It is not!
Welcome to this friendly beginner’s guide to creating a logistic regression model for classification in python!
With this guide I want to give you an easy way to complete your first data science project by creating a logistic regression machine learning model used for classification. I will explain all the steps thoroughly to make sure that you know what is going on. We will be working with a very famous and known data set originating from 1936. I have used Google Colab to write the code.
The article consists of the following steps:
It is actually as simple as that, but allow me to elaborate. When I started learning about AI and machine learning 3 months ago I was of course amazed by all the different technologies and endless possibilities. There are so many new concepts to grasp! And naturally I did not know where to begin which led me to try to learn a little bit about everything.
My advice to you and future me: Don’t do that.
I am currently studying a bachelor’s degree in software engineering which definitely improves my overall understanding of the topic, however when starting out I…
This article is for anyone new to AI and machine learning. If you find that AI and ml is just a little bit hard to comprehend, then I welcome you to the club. Otherwise if you just want to take part in an epic journey about going from noob to expert in AI then I encourage you to keep reading.
My name is Jacob Toftgaard Rasmussen I am 22 years. I come from Denmark where I live in the city of Aalborg.
I explore the wonderful world of software engineering. I write guides, informative articles and silly projects ;) — Keep learning!