Skip to content

Project - Biomedical entity relation network with PubMed papers

Notifications You must be signed in to change notification settings

WooheonHong/BERD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

Biomedical Entity Relation Detection

Author: Wooheon Hong, Jaehyun Lee

Date: 2020.12.21 ~ 2021. 03. 26

This is biomedical entity relation network.

Identify the connection relationship between entitiy in the papers in PubMed.

Find the relationship between entities based on one sentence, consecutive sentences(in this setting, Swanson ABC model can be used) or entire papers.

It can supports relation network for three or more queries.

BERD_movie

BERD_process

BERD_network

Requirements

  • python3
  • see requirements.txt
conda create –n name python=3.7
conda activate name
pip install --upgrade pip
pip install -r requirements.txt

Datasets

We used PubMed thesis data by crwaling

Run

Commands

python app.py

Arguments

test_model.py provides more arguments than app.py provides.

python test_model.py 
  • load_or_not

    • Select whether run model or use previously saved data
  • query

    • ex) macrolactin, iridovirus
  • n_papers

    • The number of pepers
  • n_sentence(In the app.py, relation unit)

    • 0: document
    • 1: network consists of one sentence
    • 2: network consists of two consecutive sentence. The Swanson ABC model is available.

    The amount of entity pairs is large in order 0 > 2 > 1.

  • is_swanson

    • Using Swanson ABC model
    • n_sentence must be 2
  • type_scispacy

    • Select Biomedical Entity Linking model
    • Scispacy
  • layout_algo

    • Node Coordinate Algorithm
  • laout_dim

    • Select Plot Dimension 2, 3
  • radius

    • Select hop except path
  • n_nodes

    • The number of nodes
  • cutoff

    • Select max path(link between query) length
  • n_path

    • The number of paths

Security

The data.sqlite file is the database and stores the username, password, and email address in the Users table.

To protect user passwords, the password is hashed.

About

Project - Biomedical entity relation network with PubMed papers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages