Cohere: Classify medical web pages using Siamese Networks for few-shot NLP. TensorFlow, BeautifulSoup, text preprocessing pipeline
Your task is to create an algorithm, that takes html page as input and infers if the page contains the information about cancer tumorboard or not.
What is a tumor board? Tumor Board is a consilium of doctors (usually from different disciplines) discussing cancer cases in their departments. If you want to know more please read this article.
The expected result is a CSV file for test data with columns [doc_id and prediction].
Bonus: if you would like to go the extra mile in this task try to identify tumor board types interdisciplinary, breast, and any third type of tumor board up to you. For these tumor boards please try to identify their schedule: Day (e.g. Friday), frequency (e.g. weekly, bi-weekly, monthly), and time when they start.
You have train.csv and test.csv files and folder with corresponding .html files.
Files:
train.csv contains next columns: url, doc_id and labeltest.csv contains next columns: url and doc_idhtmls contains files with names {doc_id}.htmlkeyword2tumor_type.csv contains useful keywords for types of tumorboardsDescription of tumor board labels:
You are asked to prepare a model using htmls, referred to in train.csv, and make predictions for htmls from test.csv
You should prepare a Jupyter Notebook with the code that you used for making the predictions and the following documentation:
from bs import BeautifulSoup
content = read_html()
soup = BeautifulSoup(content)
clean_text = soup.get_text(' ')
<p> in your document, you can do this:from bs import BeautifulSoup
content = read_html()
soup = BeautifulSoup(content)
for tag in soup.find_all('p'):
tag.decompose()
See the full interview round by round, with questions for each stage.