Skip to content

Instantly share code, notes, and snippets.

View Couhp's full-sized avatar
🤡
burning

COUHP Couhp

🤡
burning
View GitHub Profile
# from mpi4py import MPI
import hashlib
import sys
from sys import exit
import time
import math
comm = MPI.COMM_WORLD
rank = comm.Get_rank()
size = comm.Get_size()
@Couhp
Couhp / Des.dat
Created September 12, 2017 09:10
Cấu trúc
=============================
line 1 : Query
line 2 : Description
line n : Url + " " + Relevance
@Couhp
Couhp / LDA.py
Created August 18, 2017 09:04
LDA by python
# -*- coding: utf-8 -*-
from nltk.tokenize import RegexpTokenizer
from nltk.stem.porter import PorterStemmer
from gensim import corpora, models
import gensim
from os import listdir
from os.path import isfile, join
import time
import logging
@Couhp
Couhp / pom.xml
Created October 13, 2016 16:20
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>dl4j-examples</artifactId>
<parent>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-examples-parent</artifactId>