Seaborn Confusion Matrix: How to Plot and Visualize in Python
Discover Seaborn’s power in creating insightful confusion matrix plots. Unleash your data visualization skills and assess model performance effectively.
In the posts in this category you will find Python scripts. Python is said to be one of the easiest programming language to learn. Learning one language will also make it easier to learn another, much more advanced, one. As a Bachelor student in the cognitive science programme I got to take Python courses. However, it was not before I started my Ph.D years that I realized how much use I had because I knew some programming.
For a psychology researcher Python might be ideal since it is relatively easy to learn and there is a huge Python community to get help from. How to build experiments using free and open-source tools such as PsychoPy, OpenSesame, Expyriment, and PyEPL is, for instance, something you could find in this category.
Discover Seaborn’s power in creating insightful confusion matrix plots. Unleash your data visualization skills and assess model performance effectively.
Learn how to use Python to check if a file is empty. Here we use the os, glob, zipfile, and rarfile modules to check if 1) a file is empty, 2) many files are empty, and 3) files contained in Zip and Rar files are empty.
Discover the Coefficient of Variation in Python using NumPy and Pandas. Uncover data variability insights effortlessly!
ooking to find the highest value in a dictionary in Python? Discover different methods to achieve this task efficiently. Explore built-in functions, sorting, collections, and Pandas. Learn the pros and cons of each approach, and determine the best method for your specific needs.
Discover how to analyze non-parametric data using the Wilcoxon Signed-Rank Test in Python. Learn how to interpret the results and compare different Python packages for running the test. Get started now!
In this post, you will learn how to create a Psychomotor vigilance task in PsychoPy using the Builder GUI and some Python code.
In Python, it is possible to print numbers in scientific notation using base functions and NumPy. Specifically, using three different methods, you will learn how to use Python to print large or small (i.e., floating point) numbers in scientific notation. In the final two sections, before concluding this post, you will also learn how to …
Python Scientific Notation & How to Suppress it in Pandas & NumPy Read More »
In this Python data visualization tutorial, we will learn how to create a violin plot in Python with Matplotlib and Seaborn. We can carry out several techniques for visualizing data (see the post 9 Data Visualization Techniques You Should Learn in Python for some examples). Violin plots combine both the box plot and the histogram. …
How to Make a Violin plot in Python using Matplotlib and Seaborn Read More »
In this Python data analysis tutorial, you will learn how to perform a paired sample t-test in Python. First, you will learn about this type of t-test (e.g. when to use it, the assumptions of the test). Second, you will learn how to check whether your data follow the assumptions and what you can do …
How to use Python to Perform a Paired Sample T-test Read More »
In this tutorial, related to data analysis in Python, you will learn how to deal with your data when it is not following the normal distribution. One way to deal with non-normal data is to transform your data. In this post, you will learn how to carry out Box-Cox, square root, and log transformation in …
How to use Square Root, log, & Box-Cox Transformation in Python Read More »