Skip to content

Commit 56f24d9

Browse files
committed
initial website commit
1 parent 62a0b95 commit 56f24d9

184 files changed

Lines changed: 5617 additions & 800 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/hugo.yaml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Sample workflow for building and deploying a Hugo site to GitHub Pages
2+
name: Deploy Hugo site to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches:
8+
- gh-pages
9+
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15+
permissions:
16+
contents: read
17+
pages: write
18+
id-token: write
19+
20+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
22+
concurrency:
23+
group: "pages"
24+
cancel-in-progress: false
25+
26+
# Default to bash
27+
defaults:
28+
run:
29+
shell: bash
30+
31+
jobs:
32+
# Build job
33+
build:
34+
runs-on: ubuntu-latest
35+
env:
36+
HUGO_VERSION: 0.111.3
37+
steps:
38+
- name: Install Hugo CLI
39+
run: |
40+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
41+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
42+
- name: Install Dart Sass Embedded
43+
run: sudo snap install dart-sass-embedded
44+
- name: Checkout
45+
uses: actions/checkout@v3
46+
with:
47+
submodules: recursive
48+
fetch-depth: 0
49+
- name: Setup Pages
50+
id: pages
51+
uses: actions/configure-pages@v3
52+
- name: Install Node.js dependencies
53+
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
54+
- name: Build with Hugo
55+
env:
56+
# For maximum backward compatibility with Hugo modules
57+
HUGO_ENVIRONMENT: production
58+
HUGO_ENV: production
59+
run: |
60+
hugo \
61+
--gc \
62+
--minify \
63+
--baseURL "${{ steps.pages.outputs.base_url }}/"
64+
- name: Upload artifact
65+
uses: actions/upload-pages-artifact@v1
66+
with:
67+
path: ./public
68+
69+
# Deployment job
70+
deploy:
71+
environment:
72+
name: github-pages
73+
url: ${{ steps.deployment.outputs.page_url }}
74+
runs-on: ubuntu-latest
75+
needs: build
76+
steps:
77+
- name: Deploy to GitHub Pages
78+
id: deployment
79+
uses: actions/deploy-pages@v2

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sefnet.mi2.ai

DOSS.py

Lines changed: 0 additions & 31 deletions
This file was deleted.

DOSS_matrix.csv

Lines changed: 0 additions & 17 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,4 @@
11
# SeFNet: Bridging Tabular Datasets with Semantic Feature Nets
2+
This is the repository on which the website https://sefnet.mi2.ai is hosted. To access the files relating to the article, please change the branch to main.
23

3-
This repository contains code and resources that can be used to reproduce the results presented in the article "SeFNet: Bridging Tabular Datasets with Semantic Feature Nets".
4-
5-
## Reproducting results
6-
### 0. Annotating datasets <br>
7-
The annotation of datasets' features is a tedious process, so the annotations we made manually have been made available in the `annotations` directory. Every annotation file is in .csv format and it consists of two columns: column_name (original feature names) and term_id (SNOMED-CT term ids).
8-
9-
### 1. Calculating similarity between terms <br>
10-
Similarity of terms is callculated using Maven. The necessary dependency information and java configuration are contained in the file pom.xml. Key functionalities used, such as computing semantic similarity between terms, have been implemented in the [slib-sml](https://github.com/sharispe/slib) library.
11-
12-
In order to reproduce our results you have to first get access to [SNOMED-CT ontology](https://www.snomed.org/get-snomed). After downloading the ontology place the folder in the main catalog of the repository. In our research we have used the US version released on March 1, 2023.
13-
14-
When ontology files are present all that is needed is to execute AllTermsSimilarity.java.
15-
16-
### 2. Calculating DOSS matrix <br>
17-
Before the DOSS matrix can be calculated, python and the necessary packages must be installed (`numpy` and `pandas`). We have used python 3.9 and the versions of the packages specified in requirements.txt.
18-
```
19-
pip install -r requirements.txt
20-
```
21-
Now all that is required is to exectute the script:
22-
```
23-
python DOSS.py
24-
```
25-
26-
## Repository structure
27-
```
28-
├── annotations - directory containing datasets annotations
29-
├── calculate-term-similarities
30-
│ ├── src/main/java
31-
│ │ ├── AllTermsSimilarity.java - calculate semantic similarity between all annotated terms (term_similarities.csv)
32-
│ │ ├── Dataset2DatasetSimilarity.java - calculate semantic similarity between terms in two datasets
33-
│ │ ├── SingleTermSimilarity.java - calculate semantic similarity between two terms
34-
│ ├── pom.xml - maven project configuration
35-
├── datasets - directory containing datasets which could be shared
36-
├── DOSS.py - python script which creates DOSS_matrix.csv
37-
├── DOSS_matrix.csv
38-
├── README.md
39-
├── annotations.csv - annotations of all used terms
40-
├── requirements.txy - python necessary packages
41-
└── term_similarities.csv - semantic similarity between all annotated terms calculated in AllTermsSimilarity.java
42-
```
43-
44-
## Citation
45-
```
46-
TBC
47-
```
4+
The website has been powered by [Hugo Pages](https://gohugo.io/) and [PaperMod Theme](https://github.com/adityatelange/hugo-PaperMod/).

0 commit comments

Comments
 (0)