- Embedding framework (5 algorithms) @ https://github.com/BookmanHan/Embedding
- KB2EP collection (5 algorithms) @ https://github.com/thunlp/KB2EP
- scikit-kge (3 algorithms) @ https://github.com/mnick/scikit-kge
- scikit-tensor (5 algorithms) @ https://github.com/mnick/scikit-tensor
- SME (4 algorithms) @ https://github.com/glorotxa/SME
This file contains hidden or 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 xml.etree.ElementTree as ET | |
import re | |
from pathlib import Path | |
from typing import Dict, List, Any, Optional | |
from dataclasses import dataclass, field | |
import logging | |
import pandas as pd | |
from datetime import datetime | |
# Set up logging |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import argparse | |
import re | |
import shutil | |
from pathlib import Path | |
from typing import Dict, List, Set | |
DATA_DIRPATH = r"PATH_TO_YOUR_DATA_DIRECTORY" # Replace with your actual data directory path |
This file contains hidden or 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 xml.etree.ElementTree as ET | |
import re | |
from pathlib import Path | |
from typing import Dict, List, Any, Optional | |
from dataclasses import dataclass, field | |
import logging | |
import pandas as pd | |
from datetime import datetime | |
# Set up logging |
This file contains hidden or 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
version = 2 | |
console_title_template = '{{ .Shell }} in {{ .PWD }}' | |
shell_integration = true | |
[[blocks]] | |
type = 'prompt' | |
alignment = 'left' | |
newline = true | |
[[blocks.segments]] |
This file contains hidden or 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
# : << 'EOF' | |
# https://github.com/gpakosz/.tmux | |
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license, | |
# without any warranty. | |
# Copyright 2012— Gregory Pakosz (@gpakosz). | |
# | |
# ------------------------------------------------------------------------------ | |
# /!\ DO NOT EDIT THIS FILE | |
# instead, override your .local customization file copy, see README.md /!\ | |
# ------------------------------------------------------------------------------ |
This file contains hidden or 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
from collections import Counter | |
from typing import Dict | |
def main(): | |
# ----------------- Configuration ----------------- # | |
fasta_filepath = "./data/Hsym_primary_v1.0.aa.fasta" | |
window_size = 16 | |
slide_size = 4 | |
aa_min_occurrences = {'R': 5, 'G': 3} |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import os | |
import numpy as np | |
import gzip | |
import math | |
def export_entry(entry, out_fd): | |
""" |
This file contains hidden or 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
\documentclass{standalone} | |
\usepackage{times} | |
\usepackage{tikz} | |
\begin{document} | |
\begin{tikzpicture}[scale=2] | |
%\fontfamily{times} | |
\tikzstyle{rect}=[rectangle,draw=black!75,fill=black!20,minimum size=0mm, node distance=7.5pt] | |
\tikzstyle{circ}=[circle,thick,draw=black!75,fill=blue!30,minimum size=0mm, node distance=80pt] | |
This file contains hidden or 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 os | |
from datetime import datetime, timedelta | |
from shutil import copyfile | |
# ------------------------------------------------------------------------------------ | |
# [Things to Change] please input exact format of the date and time like the example | |
# ------------------------------------------------------------------------------------ | |
records_directory = "/Users/sameh/Downloads/records" | |
site_name = "Cork_7" | |
first_date = "21/5/2012 14:31:51" |
NewerOlder