Skip to content

Instantly share code, notes, and snippets.

View tlhr's full-sized avatar

Thomas Löhr tlhr

View GitHub Profile
@tlhr
tlhr / implicit-vector.cpp
Created January 7, 2017 13:31
EEF1-SB vectorized in different ways
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 2016 The plumed team
(see the PEOPLE file at the root of the distribution for a list of names)
See http://www.plumed.org for more information.
This file is part of plumed, version 2.
plumed is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
from sklearn.decomposition import PCA
import numba
import numpy as np
from typing import (Any, Sequence, Iterator, List, Tuple,
Dict, Callable, Union, Optional, Mapping)
class SOM:
'''
SOM - Self-Organising-Map.