mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-12-02 01:48:22 +00:00
18 lines
302 B
PHP
18 lines
302 B
PHP
|
<?php
|
||
|
|
||
|
declare (strict_types = 1);
|
||
|
|
||
|
namespace tests\Phpml\NeuralNetwork\Node;
|
||
|
|
||
|
use Phpml\NeuralNetwork\Node\Bias;
|
||
|
|
||
|
class BiasTest extends \PHPUnit_Framework_TestCase
|
||
|
{
|
||
|
public function testBiasOutput()
|
||
|
{
|
||
|
$bias = new Bias();
|
||
|
|
||
|
$this->assertEquals(1.0, $bias->getOutput());
|
||
|
}
|
||
|
}
|