repo_description: 🤖 GPU accelerated Neural networks in JavaScript for Browsers and Node.js
repo_topics: api brain browser convolutional-neural-networks easy-to-use hacktoberfest neural-network node nodejs recurrent-neural-networks stream web
code: import * as sigmoid from './sigmoid';
  
  describe('sigmoid', () => {
    describe('.active()', () => {
      it('matches for value 1', () => {
        expect(sigmoid.activate(1).toFixed(5)).toBe('0.73106');
      });
    });
    describe('.measure()', () => {
      it('matches for value .7', () => {
        expect(sigmoid.measure(0.7, 0.5).toFixed(5)).toBe('0.10500');
      });
    });
  });
  