This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class linear_regression { | |
public function __construct( array $dataset ){ | |
$this->dataset = $dataset; | |
//Start the execution timer | |
$start = microtime( true ); | |
//Make the calculations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Salesportal\Query\AST; | |
class BinaryTree extends Node { | |
protected $left; | |
protected $right; | |
public function getLeft(){ | |
return $this->left; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DB_USER="exampleuser" | |
DB_PASSWORD="examplepassword" | |
DB_NAME="wordpress_site" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// clsx variant of the base Container component | |
import React, { ReactNode, ElementType, ComponentPropsWithoutRef } from "react"; | |
import clsx, { ClassValue } from "clsx"; | |
export interface ContainerProps<Tag extends ElementType> { | |
children: ReactNode; | |
className?: ClassValue; | |
as?: Tag; | |
} |