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:
- Add automatic grid generation method.
- Add automatic graph construction method.
- Add visualization moddule.
- Add ML clustering, classification, and prediction moduels.
- 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},
}
Metadata
Release files for build2vec 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| build2vec-0.0.6.tar.gz | 5.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| build2vec-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / build2vec-0.0.6.tar.gz
| Download URL | build2vec-0.0.6.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc2c53954d1672568ed353d3033d67a24f4179289b0ec7f190331150d9a62850
|
|
BLAKE2b-256 checksum How to use checksums |
1f98853a0001872ada41cc58ec2433226b36b181d2a6727596b870fde3682ec8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / build2vec-0.0.6-py3-none-any.whl
| Download URL | build2vec-0.0.6-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55b7541d0e3529ac981b3b3780762e806eee2746af3768a23ff29ef4c3cbeca9
|
|
BLAKE2b-256 checksum How to use checksums |
87bd4fafd7d6c30a32472aac5963ce93b098f6c7219a97d55fcd5c548ad0e0c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for build2vec 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.