Skip to content

Instantly share code, notes, and snippets.

@JuxhinDB
JuxhinDB / 2d-large-unnormalised-dataset.csv
Created Dec 23, 2018
KohonenGrossberg-NN Large Dataset
View 2d-large-unnormalised-dataset.csv
474.0 604.0
412.0 362.0
442.0 000.0
283.0 384.0
529.0 844.0
535.0 101.0
131.0 721.0
368.0 923.0
940.0 967.0
666.0 244.0
@JuxhinDB
JuxhinDB / 2d-unnormalised-dataset.csv
Created Dec 23, 2018
Sample Dataset for KohonenGrossberg
View 2d-unnormalised-dataset.csv
-0.82 0.49
-0.77 0.47
-0.73 0.55
-0.71 0.61
-0.69 0.59
-0.68 0.60
-0.66 0.58
-0.61 0.69
0.28 0.96
0.31 0.95
@JuxhinDB
JuxhinDB / KohonenGrossberg-NN.py
Last active Feb 24, 2020
A naive Kohonen-Grossberg Counterpropogation Network in Python
View KohonenGrossberg-NN.py
__author__ = 'Juxhin Dyrmishi Brigjaj'
import sys
import math
import random
import argparse
def parse_args():
parser = argparse.ArgumentParser(description='A naive Kohonen-Grossberg Counterpropogation Network in Python')
@JuxhinDB
JuxhinDB / Stack
Last active Aug 29, 2015
A Stack class without using arrays
View Stack
/*
* This could have indeed been written in a much neater manner.. the direct variable assignment is something I never
* enjoyed doing but I just wanted to get things to work without alot of boilerplate code.
*
* No, I did not approach this challenge using any vector list, would've been easier. Same goes for one-dimensional
* arrays..
*/
public class Stack {
Element top;
int size;
You can’t perform that action at this time.