danielleajocprojects.com

DANIELLE.ANALYTICS

Blog Posts

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...

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...

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...

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...

Detecting Bias in LLMs in the Norwegian Politics Context (1/4): Introduction

Introduction I made this project for my BAN443: Transforming Business with AI: The Power of Large Language Models course. The goal was to build an application using Large Language Models (LLMs) and for our group we decided to analyze whether or not there is political bias in the responses of LLMs by...

Webscraping Norwegian Company Information Data Using Langchain

Our thesis professor gave us a task to add information columns to an already existing norwegian company database. Originally, my thesis partner and I tried filling up information (revenue, current ceo, number of employees,.. etc). However, I realized that this process was very repetitive: we would...