Skip to main content

Python package for building data embeddings

Project description

build2Vec

Graph Neural Networks based building representation in the vector space

Installation

$ pip install build2vec

Examples

import networkx as nx
from build2vec import Build2Vec
emb_dimensions = 10
# Create a graph using networkx -- you can generate the graph from dataframe of edges

graph = nx.from_pandas_edgelist(df_links_graph)

build2vec = Build2Vec(graph, dimensions=emb_dimensions, walk_length=50, num_walks=50, workers=1)

model = build2vec.fit(window=50, min_count=1, batch_words=10)

Todos:

  1. Add automatic grid generation method.
  2. Add automatic graph construction method.
  3. Add visualization moddule.
  4. Add ML clustering, classification, and prediction moduels.
  5. Define other builing-related random walks methods.

Citation:

@inproceedings{10.5555/3465085.3465155,
author = {Abdelrahman, Mahmoud M. and Chong, Adrian and Miller, Clayton},
title = {Build2Vec: Building Representation in Vector Space},
year = {2020},
abstract = {In this paper, we represent a methodology of a graph embeddings algorithm that is
used to transform labeled property graphs obtained from a Building Information Model
(BIM). Industrial Foundation Classes (IFC) is a standard schema for BIM, which is
utilized to convert the building data into a graph representation. We used node2Vec
with biased random walks to extract semantic similarities between different building
components and represent them in a multi-dimensional vector space. A case study implementation
is conducted on a net-zero-energy building located at the National University of Singapore
(SDE4). This approach shows promising machine learning applications in capturing the
semantic relations and similarities of different building objects, more specifically,
spatial and spatio-temporal data.},
booktitle = {Proceedings of the 11th Annual Symposium on Simulation for Architecture and Urban Design},
articleno = {70},
numpages = {4},
keywords = {graph embeddings, STAR, node2vec, feature learning, representation learning},
location = {Virtual Event, Austria},
series = {SimAUD '20},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

build2vec-0.0.6.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

build2vec-0.0.6-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file build2vec-0.0.6.tar.gz.

File metadata

  • Download URL: build2vec-0.0.6.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

File hashes

Hashes for build2vec-0.0.6.tar.gz
Algorithm Hash digest
SHA256 cc2c53954d1672568ed353d3033d67a24f4179289b0ec7f190331150d9a62850
MD5 42dce80c2cf3512295905599fddd9419
BLAKE2b-256 1f98853a0001872ada41cc58ec2433226b36b181d2a6727596b870fde3682ec8

See more details on using hashes here.

File details

Details for the file build2vec-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: build2vec-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

File hashes

Hashes for build2vec-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 55b7541d0e3529ac981b3b3780762e806eee2746af3768a23ff29ef4c3cbeca9
MD5 84b7e2ea851b2eb917de31d38338fd10
BLAKE2b-256 87bd4fafd7d6c30a32472aac5963ce93b098f6c7219a97d55fcd5c548ad0e0c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page