Detecting Bias in LLMs in the Norwegian Politics Context (2/4): Data Scraping With Selenium

Imports Originally, we would want the LLM to go through the questions in Valgomat website but in this research, we decided to scrape the data from the website instead and then store it in a CSV file. We used selenium to collect the questions from the questionnaire, the standpoints of the political parties, and the […]
Detecting Bias in LLMs in the Norwegian Politics Context (3/4): Running the LLM Model Against Valgomat Questions

Import Using the dataframe in the previous part, we now run the LLM against these questions and ask it to choose a standpoint and provide its reasoning. First, let us import the necessary libraries. Now, let us upload the valgomat data csv file and see what it looks like so far. Run Model We then […]
Detecting Bias in LLMs in the Norwegian Politics Context (4/4): Analyzing Results

Import and Overview First, let´s import the necessary libraries. Now, let´s look at what the dataframe looks like so far. Matching Calculation The main point of the research is to determine which political party the LLM has the highest in similarity with and we use this data to determine whether it is left wing or […]
Scraping Game History in Boardgame Arena

I love playing boardgames and I found it fun to make a dashboard of all the games I played. For this project, I used selenium to scrape data from my boardgamearena.com account and then I used PowerBI to visualize the data. Data Scraping With Selenium First, we will import the necessary libraries. Then, we connect […]
Pizza Sales Power BI Dashboard from MySQL Database

I am going to have an internship this summer and we will be making a PowerBI dashboard using data from a live database. Although I have made dashboards in the past, they were usually static data like from a csv file. Luckily, I found this post in YouTube with data I can copy into my […]