grydra 1.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,43 +1,122 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grydra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel Gabriel García Razo
8
8
  bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
- dependencies: []
12
- description: |2
13
- grydra is a Ruby library for creating, training, and experimenting with neural networks.
14
- It includes neuron and layer classes, multiple modern activation functions (Tanh, ReLU, Leaky ReLU, Sigmoid, Swish, GELU),
15
- regularization techniques (Dropout, L1, L2), weight initialization (Xavier, He), data normalization (Z-Score, Min-Max),
16
- synthetic data generation, and simplified PCA.
17
- It offers evaluation metrics (MSE, MAE, accuracy, F1, confusion matrix, AUC-ROC), a configurable Adam optimizer,
18
- advanced training features like mini-batch, early stopping, and learning rate decay, as well as cross-validation
19
- and hyperparameter search.
20
- Furthermore, it allows visualizing architectures in ASCII or exporting them to Graphviz, working with text processing
21
- (binary vectorization and TF-IDF), and saving/loading models along with their vocabulary.
22
- It includes a simplified interface (EasyNetwork) for quickly training with numerical data, hashes, or text.
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: rake
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '13.0'
19
+ type: :development
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '13.0'
26
+ - !ruby/object:Gem::Dependency
27
+ name: minitest
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '5.0'
40
+ description: " GRYDRA v2.0 is a complete, modular Ruby library for building, training,
41
+ and deploying neural networks.\n \n NEW in v2.0:\n - Complete modular architecture
42
+ with 29 organized files\n - Keyword arguments API for better readability\n -
43
+ Full implementations (no more \"simplified\" versions)\n - 8 loss functions (MSE,
44
+ MAE, Huber, Cross-Entropy, Hinge, Log-Cosh, Quantile)\n - 5 optimizers (Adam,
45
+ SGD, RMSprop, AdaGrad, AdamW)\n - 6 training callbacks (EarlyStopping, LearningRateScheduler,
46
+ ReduceLROnPlateau, ModelCheckpoint, CSVLogger, ProgressBar)\n - Complete LSTM
47
+ implementation with backpropagation\n - Complete 2D Convolutional layer with
48
+ padding and stride\n - Real PCA with eigenvalue decomposition using Power Iteration\n
49
+ \ - Multiple activation functions (Tanh, ReLU, Leaky ReLU, Sigmoid, Swish, GELU,
50
+ Softmax)\n - Regularization (Dropout, L1, L2)\n - Weight initialization (Xavier,
51
+ He)\n - Data normalization (Z-Score, Min-Max)\n - Comprehensive metrics (MSE,
52
+ MAE, Accuracy, Precision, Recall, F1, Confusion Matrix, AUC-ROC)\n - Advanced
53
+ training (mini-batch, early stopping, learning rate decay, validation split)\n -
54
+ Cross-validation and hyperparameter search\n - Text processing (vocabulary, binary
55
+ vectorization, TF-IDF)\n - Model persistence (save/load with Marshal)\n -
56
+ Network visualization and gradient analysis\n - Simplified EasyNetwork interface\n
57
+ \ - 100% backward compatibility with v1.x\n \n Perfect for machine learning
58
+ projects, research, and education in Ruby.\n"
23
59
  email:
24
60
  - garabatoangelopolis@email.com
25
61
  executables: []
26
62
  extensions: []
27
63
  extra_rdoc_files: []
28
64
  files:
65
+ - LICENCE
29
66
  - README.md
30
- - lib/gr/core.rb
31
- - lib/gr/version.rb
32
67
  - lib/grydra.rb
68
+ - lib/grydra/activations.rb
69
+ - lib/grydra/callbacks.rb
70
+ - lib/grydra/documentation.rb
71
+ - lib/grydra/initializers.rb
72
+ - lib/grydra/layers/base.rb
73
+ - lib/grydra/layers/conv.rb
74
+ - lib/grydra/layers/dense.rb
75
+ - lib/grydra/layers/lstm.rb
76
+ - lib/grydra/losses.rb
77
+ - lib/grydra/metrics.rb
78
+ - lib/grydra/networks/easy_network.rb
79
+ - lib/grydra/networks/main_network.rb
80
+ - lib/grydra/networks/neural_network.rb
81
+ - lib/grydra/networks/neuron.rb
82
+ - lib/grydra/normalization.rb
83
+ - lib/grydra/optimizers.rb
84
+ - lib/grydra/preprocessing/data.rb
85
+ - lib/grydra/preprocessing/pca.rb
86
+ - lib/grydra/preprocessing/text.rb
87
+ - lib/grydra/regularization.rb
88
+ - lib/grydra/training/cross_validation.rb
89
+ - lib/grydra/training/hyperparameter_search.rb
90
+ - lib/grydra/utils/examples.rb
91
+ - lib/grydra/utils/persistence.rb
92
+ - lib/grydra/utils/visualization.rb
93
+ - lib/grydra/version.rb
33
94
  homepage: https://rubygems.org/gems/grydra
34
95
  licenses:
35
96
  - GPL-3.0-or-later
36
97
  metadata:
37
98
  homepage_uri: https://rubygems.org/gems/grydra
38
99
  source_code_uri: https://github.com/grcodedigitalsolutions/GRydra
39
- documentation_uri: https://www.rubydoc.info/gems/grydra/1.0.0
100
+ documentation_uri: https://www.rubydoc.info/gems/grydra/2.0.1
101
+ changelog_uri: https://github.com/grcodedigitalsolutions/GRydra/blob/main/CHANGELOG.md
102
+ bug_tracker_uri: https://github.com/grcodedigitalsolutions/GRydra/issues
40
103
  license_uri: https://www.gnu.org/licenses/gpl-3.0.html
104
+ rubygems_mfa_required: 'true'
105
+ post_install_message: " \n ╔═══════════════════════════════════════════════════════════════╗\n
106
+ \ ║ ║\n ║ Thank
107
+ you for installing GRYDRA v2.0.1! ║\n ║ ║\n
108
+ \ ║ What's new in v2.0: ║\n ║ •
109
+ Complete modular architecture ║\n ║ • Keyword arguments
110
+ API ║\n ║ • 8 loss functions, 5 optimizers,
111
+ 6 callbacks ║\n ║ • Full LSTM, Conv2D, and PCA implementations
112
+ \ ║\n ║ • 100% backward compatible ║\n
113
+ \ ║ ║\n ║ Quick
114
+ start: ║\n ║ require 'grydra'
115
+ \ ║\n ║ model = GRYDRA::Networks::EasyNetwork.new(print_epochs:
116
+ true) ║\n ║ ║\n
117
+ \ ║ Documentation: https://www.rubydoc.info/gems/grydra ║\n ║ Examples:
118
+ https://github.com/grcodedigitalsolutions/GRydra ║\n ║ ║\n
119
+ \ ╚═══════════════════════════════════════════════════════════════╝\n \n"
41
120
  rdoc_options: []
42
121
  require_paths:
43
122
  - lib
@@ -54,5 +133,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
133
  requirements: []
55
134
  rubygems_version: 3.7.2
56
135
  specification_version: 4
57
- summary: Complete library for building and training neural networks in Ruby.
136
+ summary: Complete, modular neural network library for Ruby with advanced features.
58
137
  test_files: []