<commit_before>// The package network provides data holders and utilities to describe Artificial Neural Network
package network

import "math"

// These are NNode types
const (
	// The neuron type
	NEURON = iota
	// The sensor type
	SENSOR
)

// These are NNode layer type
const (
	// The node is in hidden layer
	HIDDEN = iota
	// The node is in input layer
	INPUT
	// The node is in output layer
	OUTPUT
)

// The neuron Activation function Types
const (
	// The sigmoid activation function
	SIGMOID = iota
)

// The neuron activator function
type ActivationFunc func(node *NNode, slope, constant float64) float64

// handling neuron activation calculation<commit_msg>Added new node type<commit_after>// The package network provides data holders and utilities to describe Artificial Neural Network
package network

import "math"

// These are NNode types
const (
	// The neuron type
	NEURON = iota
	// The sensor type
	SENSOR
)

// These are NNode layer type
const (
	// The node is in hidden layer
	HIDDEN = iota
	// The node is in input layer
	INPUT
	// The node is in output layer
	OUTPUT
	// The node is bias
	BIAS
)

// The neuron Activation function Types
const (
	// The sigmoid activation function
	SIGMOID = iota
)

// The neuron activator function
type ActivationFunc func(node *NNode, slope, constant float64) float64

// handling neuron activation calculation
{'fraction_non_alphanumeric': 0.06409322651128915, 'fraction_numerical': 0.005826656955571741, 'mean_word_length': 3.4038461538461537, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6474365', 'n_tokens_mistral': 417, 'n_tokens_neox': 390, 'n_words': 183}