maael/node-ann

View on GitHub
lib/perceptron.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function perceptron has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var perceptron = function(options) {
    options = options || {};
    options.bias = (typeof(options.bias) === 'number') ? options.bias : 1; 
    options.type = options.type || 'hidden';
    options.id = options.id || '';
Severity: Major
Found in lib/perceptron.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status