# metadata for pandoc
title: Computer Systems Architecture individual assignment
subtitle: Comparisn Between Raspberry Pi OS and Fedora Linux
author:
- 'hfsoahdaos'
# custom LaTeX
header-includes:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import pandas as pd | |
from sklearn.feature_extraction.text import TfidfVectorizer | |
from sklearn.metrics.pairwise import linear_kernel | |
# load dataset | |
dataset = pd.read_csv("recipe_nlg_lite/train.csv", sep=" ") | |
dataset["combined"] = dataset.apply( | |
lambda row: " ".join(row[["name", "description", "ner", "steps"]]), axis=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Defaults editor=/usr/bin/micro | |
Defaults pwfeedback | |
Defaults passwd_timeout=0 | |
Defaults passprompt="[sudo] gimme %p's password ( •̀ω•́ )σ: " |