mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-12-01 09:13:54 +00:00
18 lines
299 B
PHP
18 lines
299 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());
|
|
}
|
|
}
|