Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Kalvar/ios-KRHebbian-Algorithm
Non-supervisor that Hebbian self-organization learning method in machine learning. (自分学習アルゴリズム).
https://github.com/Kalvar/ios-KRHebbian-Algorithm
Last synced: 24 days ago
JSON representation
Non-supervisor that Hebbian self-organization learning method in machine learning. (自分学習アルゴリズム).
- Host: GitHub
- URL: https://github.com/Kalvar/ios-KRHebbian-Algorithm
- Owner: Kalvar
- License: other
- Created: 2013-06-11T19:01:21.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-08T03:54:07.000Z (over 8 years ago)
- Last Synced: 2024-05-07T00:21:18.897Z (29 days ago)
- Language: Objective-C
- Homepage:
- Size: 223 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- AI - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in the neural network of Machine Learning. **[Deprecated]** (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in the neural network of Machine Learning. **[Deprecated]** (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learnings - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in the neural network of Machine Learning. **[Deprecated]** (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning-library - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in the neural network of Machine Learning. **[Deprecated]** (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in the neural network of Machine Learning. **[Deprecated]** (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. **[Deprecated]** (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. **[Deprecated]** (Objective C / General-Purpose Machine Learning)
- awesome-advanced-metering-infrastructure - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisory and self-learning algorithm (adjust the weights) in the neural network of Machine Learning. **[Deprecated]** (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
- awesome-machine-learning - KRHebbian-Algorithm - It is a non-supervisor and self-learning algorithm (adjust the weights) in neural network of Machine Learning. (Objective C / General-Purpose Machine Learning)
README
## About
KRHebbian implemented Hebbian algorithm that is a non-supervisor of self-organization algorithm of Machine Learning (自分学習アルゴリズム).
#### Podfile
```ruby
platform :ios, '7.0'
pod "KRHebbian", "~> 1.3.0"
```## How To Get Started
#### Import
``` objective-c
#import "KRHebbian.h"
```#### Sample
``` objective-c
KRHebbian *_hebbian = [KRHebbian sharedAlgorithm];
_hebbian.activeFunction = KRHebbianActiveFunctionBySgn; // Tanh() for [-1.0, 1.0], Sgn() for (-1, 1)
_hebbian.learningRate = 1.0f;
_hebbian.maxIteration = 1;
[_hebbian addPatterns:@[@0.0f, @1.5f, @-2.0f, @1.0f]]; // X1
[_hebbian addPatterns:@[@-1.5f, @-2.0f, @-0.5f, @1.0f]]; // X2
[_hebbian initializeWeights:@[@0.5f, @0.0f, @-1.0f, @1.0f]];[_hebbian setTrainingIteraion:^(NSInteger iteration, NSArray *outputs, NSArray *weights) {
NSLog(@"Training %li iteration = %@, outputs = %@", iteration, weights, outputs);
}];[_hebbian trainingWithCompletion:^(BOOL success, NSArray *outputs, NSArray *weights, NSInteger totalIteration) {
NSLog(@"Trained %li iteration = %@, outputs = %@", totalIteration, weights, outputs);
// Start in verifying
[_hebbian directOutputAtInputs:@[@-0.5f, @-1.0f, @-0.2f, @0.5f] completion:^(NSArray *outputs, NSArray *weights) {
NSLog(@"Verified weights = %@, outputs = %@", weights, outputs);
}];
}];
```## Version
V1.3.0
## LICENSE
MIT.