Remove Nextcloud application files from repo and add to .gitignore
- Removed docker-compose/productivity/nextcloud/html/ directory containing Nextcloud app files - Added exclusion for Nextcloud html directory in .gitignore - Nextcloud should install its files via Docker volume mounts, not be committed to repo
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -71,6 +71,9 @@ yarn-error.log*
|
|||||||
*.pfx
|
*.pfx
|
||||||
acme.json
|
acme.json
|
||||||
|
|
||||||
|
# Nextcloud application files (should be mounted via volumes)
|
||||||
|
docker-compose/productivity/nextcloud/html/
|
||||||
|
|
||||||
# Monitoring data (if stored locally)
|
# Monitoring data (if stored locally)
|
||||||
prometheus-data/
|
prometheus-data/
|
||||||
grafana-data/
|
grafana-data/
|
||||||
|
|||||||
@@ -1,38 +0,0 @@
|
|||||||
name: Tests
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
tests:
|
|
||||||
name: PHP ${{ matrix.php }}
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
php: ['7.3', '7.4', '8.0', '8.1', '8.2']
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout Code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php }}
|
|
||||||
tools: composer:v2
|
|
||||||
coverage: none
|
|
||||||
|
|
||||||
- name: Setup Problem Matchers
|
|
||||||
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
|
|
||||||
|
|
||||||
- name: Install PHP Dependencies
|
|
||||||
uses: nick-invision/retry@v2
|
|
||||||
with:
|
|
||||||
timeout_minutes: 5
|
|
||||||
max_attempts: 5
|
|
||||||
command: composer update --no-interaction --no-progress
|
|
||||||
|
|
||||||
- name: Execute PHPUnit
|
|
||||||
run: vendor/bin/phpunit
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
preset: psr2
|
|
||||||
@@ -1,135 +0,0 @@
|
|||||||
name: Continuous Integration
|
|
||||||
|
|
||||||
on:
|
|
||||||
push: null
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
unit_tests:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.1'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.2'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.3'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.4'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '8.0'
|
|
||||||
composer-flags: '--ignore-platform-req=php'
|
|
||||||
|
|
||||||
- operating-system: 'windows-latest'
|
|
||||||
php-version: '8.0'
|
|
||||||
composer-flags: '--ignore-platform-req=php'
|
|
||||||
|
|
||||||
- operating-system: 'macos-latest'
|
|
||||||
php-version: '8.0'
|
|
||||||
composer-flags: '--ignore-platform-req=php'
|
|
||||||
|
|
||||||
name: PHP ${{ matrix.php-version }} on ${{ matrix.operating-system }}
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.operating-system }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php-version }}
|
|
||||||
|
|
||||||
- name: Use LF line ends
|
|
||||||
run: |
|
|
||||||
git config --global core.autocrlf false
|
|
||||||
git config --global core.eol lf
|
|
||||||
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Get Composer cache directory
|
|
||||||
id: composer-cache
|
|
||||||
run: echo "::set-output name=dir::$(composer config cache-dir)"
|
|
||||||
|
|
||||||
- name: Cache dependencies
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
|
||||||
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-${{ matrix.composer-flags }}
|
|
||||||
restore-keys: |
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: nick-invision/retry@v2
|
|
||||||
with:
|
|
||||||
timeout_minutes: 5
|
|
||||||
max_attempts: 5
|
|
||||||
retry_wait_seconds: 30
|
|
||||||
command: |
|
|
||||||
php_version=$(php -v)
|
|
||||||
composer update --optimize-autoloader --no-interaction --no-progress ${{ matrix.composer-flags }}
|
|
||||||
composer info -D
|
|
||||||
|
|
||||||
- name: Run unit tests
|
|
||||||
run: vendor/bin/phpunit --verbose
|
|
||||||
|
|
||||||
coding_standards:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '8.0'
|
|
||||||
composer-flags: '--ignore-platform-req=php'
|
|
||||||
|
|
||||||
name: Coding standards
|
|
||||||
runs-on: ${{ matrix.operating-system }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php-version }}
|
|
||||||
|
|
||||||
- name: Use LF line ends
|
|
||||||
run: |
|
|
||||||
git config --global core.autocrlf false
|
|
||||||
git config --global core.eol lf
|
|
||||||
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Get Composer cache directory
|
|
||||||
id: composer-cache
|
|
||||||
run: echo "::set-output name=dir::$(composer config cache-dir)"
|
|
||||||
|
|
||||||
- name: Cache dependencies
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
|
||||||
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-${{ matrix.composer-flags }}
|
|
||||||
restore-keys: |
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: nick-invision/retry@v2
|
|
||||||
with:
|
|
||||||
timeout_minutes: 5
|
|
||||||
max_attempts: 5
|
|
||||||
retry_wait_seconds: 30
|
|
||||||
command: |
|
|
||||||
php_version=$(php -v)
|
|
||||||
composer update --optimize-autoloader --no-interaction --no-progress ${{ matrix.composer-flags }}
|
|
||||||
composer info -D
|
|
||||||
|
|
||||||
- name: Run style fixer
|
|
||||||
env:
|
|
||||||
PHP_CS_FIXER_IGNORE_ENV: 1
|
|
||||||
run: vendor/bin/php-cs-fixer --diff --dry-run -v fix
|
|
||||||
@@ -1,86 +0,0 @@
|
|||||||
name: Continuous Integration
|
|
||||||
|
|
||||||
on:
|
|
||||||
- push
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
tests:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.1'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.2'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.3'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.4'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '8.0'
|
|
||||||
composer-flags: '--ignore-platform-req=php'
|
|
||||||
|
|
||||||
- operating-system: 'windows-latest'
|
|
||||||
php-version: '7.4'
|
|
||||||
job-description: 'on Windows'
|
|
||||||
|
|
||||||
- operating-system: 'macos-latest'
|
|
||||||
php-version: '7.4'
|
|
||||||
job-description: 'on macOS'
|
|
||||||
|
|
||||||
name: PHP ${{ matrix.php-version }} ${{ matrix.job-description }}
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.operating-system }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Set git to use LF
|
|
||||||
run: |
|
|
||||||
git config --global core.autocrlf false
|
|
||||||
git config --global core.eol lf
|
|
||||||
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php-version }}
|
|
||||||
extensions: parallel
|
|
||||||
|
|
||||||
- name: Get Composer cache directory
|
|
||||||
id: composer-cache
|
|
||||||
run: echo "::set-output name=dir::$(composer config cache-dir)"
|
|
||||||
|
|
||||||
- name: Cache dependencies
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
|
||||||
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-${{ matrix.composer-flags }}
|
|
||||||
restore-keys: |
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-
|
|
||||||
composer-${{ runner.os }}-
|
|
||||||
composer-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: nick-invision/retry@v2
|
|
||||||
with:
|
|
||||||
timeout_minutes: 5
|
|
||||||
max_attempts: 5
|
|
||||||
retry_wait_seconds: 30
|
|
||||||
command: |
|
|
||||||
composer update --optimize-autoloader --no-interaction --no-progress ${{ matrix.composer-flags }}
|
|
||||||
composer info -D
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: vendor/bin/phpunit ${{ matrix.phpunit-flags }}
|
|
||||||
|
|
||||||
- name: Run style fixer
|
|
||||||
run: vendor/bin/php-cs-fixer --diff --dry-run -v fix
|
|
||||||
env:
|
|
||||||
PHP_CS_FIXER_IGNORE_ENV: 1
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
build: false
|
|
||||||
shallow_clone: false
|
|
||||||
|
|
||||||
platform:
|
|
||||||
- x86
|
|
||||||
- x64
|
|
||||||
|
|
||||||
clone_folder: c:\projects\amphp
|
|
||||||
|
|
||||||
cache:
|
|
||||||
- c:\tools\php73 -> appveyor.yml
|
|
||||||
|
|
||||||
init:
|
|
||||||
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php73;%PATH%
|
|
||||||
- SET COMPOSER_NO_INTERACTION=1
|
|
||||||
- SET PHP=1
|
|
||||||
- SET ANSICON=121x90 (121x90)
|
|
||||||
|
|
||||||
install:
|
|
||||||
- IF EXIST c:\tools\php73 (SET PHP=0)
|
|
||||||
- IF %PHP%==1 sc config wuauserv start= auto
|
|
||||||
- IF %PHP%==1 net start wuauserv
|
|
||||||
- IF %PHP%==1 cinst -y OpenSSL.Light
|
|
||||||
- IF %PHP%==1 cinst -y php
|
|
||||||
- cd c:\tools\php73
|
|
||||||
- IF %PHP%==1 copy php.ini-production php.ini /Y
|
|
||||||
- IF %PHP%==1 echo date.timezone="UTC" >> php.ini
|
|
||||||
- IF %PHP%==1 echo extension_dir=ext >> php.ini
|
|
||||||
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
|
|
||||||
- IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
|
|
||||||
- IF %PHP%==1 echo extension=php_fileinfo.dll >> php.ini
|
|
||||||
- cd c:\projects\amphp
|
|
||||||
- appveyor DownloadFile https://getcomposer.org/composer.phar
|
|
||||||
- php composer.phar install --prefer-dist --no-progress
|
|
||||||
|
|
||||||
test_script:
|
|
||||||
- cd c:\projects\amphp
|
|
||||||
- phpdbg -qrr vendor/phpunit/phpunit/phpunit --colors=always --coverage-text --coverage-clover build/logs/clover.xml
|
|
||||||
# Disable for now, because it can't be combined and files can't be shown on coveralls.io
|
|
||||||
# https://github.com/php-coveralls/php-coveralls/issues/234
|
|
||||||
# - vendor/bin/coveralls -v
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
kramdown:
|
|
||||||
input: GFM
|
|
||||||
toc_levels: 2..3
|
|
||||||
|
|
||||||
baseurl: "/parallel"
|
|
||||||
layouts_dir: ".shared/layout"
|
|
||||||
includes_dir: ".shared/includes"
|
|
||||||
|
|
||||||
exclude: ["Gemfile", "Gemfile.lock", "README.md", "vendor"]
|
|
||||||
safe: true
|
|
||||||
|
|
||||||
repository: amphp/parallel
|
|
||||||
gems:
|
|
||||||
- "jekyll-github-metadata"
|
|
||||||
- "jekyll-relative-links"
|
|
||||||
|
|
||||||
defaults:
|
|
||||||
- scope:
|
|
||||||
path: ""
|
|
||||||
type: "pages"
|
|
||||||
values:
|
|
||||||
layout: "docs"
|
|
||||||
|
|
||||||
shared_asset_path: "/parallel/asset"
|
|
||||||
|
|
||||||
navigation:
|
|
||||||
- processes
|
|
||||||
- workers
|
|
||||||
- worker-pool
|
|
||||||
@@ -1,85 +0,0 @@
|
|||||||
name: Continuous Integration
|
|
||||||
|
|
||||||
on:
|
|
||||||
- push
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
tests:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.4'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '8.0'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '8.1'
|
|
||||||
|
|
||||||
- operating-system: 'windows-latest'
|
|
||||||
php-version: '8.1'
|
|
||||||
job-description: 'on Windows'
|
|
||||||
|
|
||||||
- operating-system: 'macos-latest'
|
|
||||||
php-version: '8.1'
|
|
||||||
job-description: 'on macOS'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '8.2'
|
|
||||||
|
|
||||||
name: PHP ${{ matrix.php-version }} ${{ matrix.job-description }}
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.operating-system }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Set git to use LF
|
|
||||||
run: |
|
|
||||||
git config --global core.autocrlf false
|
|
||||||
git config --global core.eol lf
|
|
||||||
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php-version }}
|
|
||||||
|
|
||||||
- name: Get Composer cache directory
|
|
||||||
id: composer-cache
|
|
||||||
run: echo "::set-output name=dir::$(composer config cache-dir)"
|
|
||||||
|
|
||||||
- name: Cache dependencies
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
|
||||||
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-${{ matrix.composer-flags }}
|
|
||||||
restore-keys: |
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-
|
|
||||||
composer-${{ runner.os }}-
|
|
||||||
composer-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: nick-invision/retry@v2
|
|
||||||
with:
|
|
||||||
timeout_minutes: 5
|
|
||||||
max_attempts: 5
|
|
||||||
retry_wait_seconds: 30
|
|
||||||
command: |
|
|
||||||
composer update --optimize-autoloader --no-interaction --no-progress ${{ matrix.composer-flags }}
|
|
||||||
composer info -D
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: vendor/bin/phpunit ${{ matrix.phpunit-flags }}
|
|
||||||
|
|
||||||
- name: Run static analysis
|
|
||||||
run: vendor/bin/psalm.phar
|
|
||||||
|
|
||||||
- name: Run style fixer
|
|
||||||
env:
|
|
||||||
PHP_CS_FIXER_IGNORE_ENV: 1
|
|
||||||
run: vendor/bin/php-cs-fixer --diff --dry-run -v fix
|
|
||||||
if: runner.os != 'Windows'
|
|
||||||
@@ -1,138 +0,0 @@
|
|||||||
name: Continuous Integration
|
|
||||||
|
|
||||||
on:
|
|
||||||
push: null
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
unit_tests:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.0'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.1'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.2'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.3'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.4'
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '8.0'
|
|
||||||
composer-flags: '--ignore-platform-req=php'
|
|
||||||
|
|
||||||
- operating-system: 'windows-latest'
|
|
||||||
php-version: '8.0'
|
|
||||||
composer-flags: '--ignore-platform-req=php'
|
|
||||||
|
|
||||||
- operating-system: 'macos-latest'
|
|
||||||
php-version: '8.0'
|
|
||||||
composer-flags: '--ignore-platform-req=php'
|
|
||||||
|
|
||||||
name: PHP ${{ matrix.php-version }} on ${{ matrix.operating-system }}
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.operating-system }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php-version }}
|
|
||||||
|
|
||||||
- name: Use LF line ends
|
|
||||||
run: |
|
|
||||||
git config --global core.autocrlf false
|
|
||||||
git config --global core.eol lf
|
|
||||||
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Get Composer cache directory
|
|
||||||
id: composer-cache
|
|
||||||
run: echo "::set-output name=dir::$(composer config cache-dir)"
|
|
||||||
|
|
||||||
- name: Cache dependencies
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
|
||||||
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-${{ matrix.composer-flags }}
|
|
||||||
restore-keys: |
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: nick-invision/retry@v2
|
|
||||||
with:
|
|
||||||
timeout_minutes: 5
|
|
||||||
max_attempts: 5
|
|
||||||
retry_wait_seconds: 30
|
|
||||||
command: |
|
|
||||||
php_version=$(php -v)
|
|
||||||
composer update --optimize-autoloader --no-interaction --no-progress ${{ matrix.composer-flags }}
|
|
||||||
composer info -D
|
|
||||||
|
|
||||||
- name: Run unit tests
|
|
||||||
run: vendor/bin/phpunit --verbose
|
|
||||||
|
|
||||||
coding_standards:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '8.0'
|
|
||||||
composer-flags: '--ignore-platform-req=php'
|
|
||||||
|
|
||||||
name: Coding standards
|
|
||||||
runs-on: ${{ matrix.operating-system }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php-version }}
|
|
||||||
|
|
||||||
- name: Use LF line ends
|
|
||||||
run: |
|
|
||||||
git config --global core.autocrlf false
|
|
||||||
git config --global core.eol lf
|
|
||||||
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Get Composer cache directory
|
|
||||||
id: composer-cache
|
|
||||||
run: echo "::set-output name=dir::$(composer config cache-dir)"
|
|
||||||
|
|
||||||
- name: Cache dependencies
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
|
||||||
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-${{ matrix.composer-flags }}
|
|
||||||
restore-keys: |
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: nick-invision/retry@v2
|
|
||||||
with:
|
|
||||||
timeout_minutes: 5
|
|
||||||
max_attempts: 5
|
|
||||||
retry_wait_seconds: 30
|
|
||||||
command: |
|
|
||||||
php_version=$(php -v)
|
|
||||||
composer update --optimize-autoloader --no-interaction --no-progress ${{ matrix.composer-flags }}
|
|
||||||
composer info -D
|
|
||||||
|
|
||||||
- name: Run style fixer
|
|
||||||
env:
|
|
||||||
PHP_CS_FIXER_IGNORE_ENV: 1
|
|
||||||
run: vendor/bin/php-cs-fixer --diff --dry-run -v fix
|
|
||||||
@@ -1,100 +0,0 @@
|
|||||||
name: Continuous Integration
|
|
||||||
|
|
||||||
on:
|
|
||||||
- push
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
tests:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.1'
|
|
||||||
composer-require-checker-version: none
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.2'
|
|
||||||
composer-require-checker-version: 2.1.0
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.3'
|
|
||||||
composer-require-checker-version: 2.1.0
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '7.4'
|
|
||||||
composer-require-checker-version: 3.3.0
|
|
||||||
|
|
||||||
- operating-system: 'ubuntu-latest'
|
|
||||||
php-version: '8.0'
|
|
||||||
composer-flags: '--ignore-platform-req=php'
|
|
||||||
composer-require-checker-version: 3.3.0
|
|
||||||
|
|
||||||
- operating-system: 'windows-latest'
|
|
||||||
php-version: '7.4'
|
|
||||||
composer-require-checker-version: 3.3.0
|
|
||||||
job-description: 'on Windows'
|
|
||||||
|
|
||||||
- operating-system: 'macos-latest'
|
|
||||||
php-version: '7.4'
|
|
||||||
composer-require-checker-version: 3.3.0
|
|
||||||
job-description: 'on macOS'
|
|
||||||
|
|
||||||
name: PHP ${{ matrix.php-version }} ${{ matrix.job-description }}
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.operating-system }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Set git to use LF
|
|
||||||
run: |
|
|
||||||
git config --global core.autocrlf false
|
|
||||||
git config --global core.eol lf
|
|
||||||
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php-version }}
|
|
||||||
|
|
||||||
- name: Get Composer cache directory
|
|
||||||
id: composer-cache
|
|
||||||
run: echo "::set-output name=dir::$(composer config cache-dir)"
|
|
||||||
|
|
||||||
- name: Cache dependencies
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
|
||||||
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-${{ matrix.composer-flags }}
|
|
||||||
restore-keys: |
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-
|
|
||||||
composer-${{ runner.os }}-${{ matrix.php-version }}-
|
|
||||||
composer-${{ runner.os }}-
|
|
||||||
composer-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: nick-invision/retry@v2
|
|
||||||
with:
|
|
||||||
timeout_minutes: 5
|
|
||||||
max_attempts: 5
|
|
||||||
retry_wait_seconds: 30
|
|
||||||
command: |
|
|
||||||
composer update --optimize-autoloader --no-interaction --no-progress ${{ matrix.composer-flags }}
|
|
||||||
composer info -D
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: vendor/bin/phpunit ${{ matrix.phpunit-flags }}
|
|
||||||
|
|
||||||
- name: Run style fixer
|
|
||||||
run: vendor/bin/php-cs-fixer --diff --dry-run -v fix
|
|
||||||
env:
|
|
||||||
PHP_CS_FIXER_IGNORE_ENV: 1
|
|
||||||
|
|
||||||
- name: Install composer-require-checker
|
|
||||||
run: php -r 'file_put_contents("composer-require-checker.phar", file_get_contents("https://github.com/maglnet/ComposerRequireChecker/releases/download/${{ matrix.composer-require-checker-version }}/composer-require-checker.phar"));'
|
|
||||||
if: runner.os != 'Windows' && matrix.composer-require-checker-version != 'none'
|
|
||||||
|
|
||||||
- name: Run composer-require-checker
|
|
||||||
run: php composer-require-checker.phar check composer.json --config-file $PWD/composer-require-check.json
|
|
||||||
if: runner.os != 'Windows' && matrix.composer-require-checker-version != 'none'
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
kramdown:
|
|
||||||
input: GFM
|
|
||||||
toc_levels: 2..3
|
|
||||||
|
|
||||||
baseurl: "/sync"
|
|
||||||
layouts_dir: ".shared/layout"
|
|
||||||
includes_dir: ".shared/includes"
|
|
||||||
|
|
||||||
exclude: ["Gemfile", "Gemfile.lock", "README.md", "vendor"]
|
|
||||||
safe: true
|
|
||||||
|
|
||||||
repository: amphp/sync
|
|
||||||
gems:
|
|
||||||
- "jekyll-github-metadata"
|
|
||||||
- "jekyll-relative-links"
|
|
||||||
|
|
||||||
defaults:
|
|
||||||
- scope:
|
|
||||||
path: ""
|
|
||||||
type: "pages"
|
|
||||||
values:
|
|
||||||
layout: "docs"
|
|
||||||
|
|
||||||
shared_asset_path: "/sync/asset"
|
|
||||||
|
|
||||||
navigation:
|
|
||||||
- mutex
|
|
||||||
- semaphore
|
|
||||||
- concurrent-iterator
|
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
---
|
|
||||||
version: "3"
|
|
||||||
services:
|
|
||||||
webdav:
|
|
||||||
image: bytemark/webdav
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
environment:
|
|
||||||
AUTH_TYPE: Digest
|
|
||||||
USERNAME: alice
|
|
||||||
PASSWORD: secret1234
|
|
||||||
sftp:
|
|
||||||
container_name: sftp
|
|
||||||
restart: always
|
|
||||||
image: atmoz/sftp
|
|
||||||
volumes:
|
|
||||||
- ./test_files/sftp/users.conf:/etc/sftp/users.conf
|
|
||||||
- ./test_files/sftp/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key
|
|
||||||
- ./test_files/sftp/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key
|
|
||||||
- ./test_files/sftp/id_rsa.pub:/home/bar/.ssh/keys/id_rsa.pub
|
|
||||||
ports:
|
|
||||||
- "2222:22"
|
|
||||||
ftp:
|
|
||||||
container_name: ftp
|
|
||||||
restart: always
|
|
||||||
image: delfer/alpine-ftp-server
|
|
||||||
environment:
|
|
||||||
USERS: 'foo|pass|/home/foo/upload'
|
|
||||||
ADDRESS: 'localhost'
|
|
||||||
ports:
|
|
||||||
- "2121:21"
|
|
||||||
- "21000-21010:21000-21010"
|
|
||||||
ftpd:
|
|
||||||
container_name: ftpd
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
PUBLICHOST: localhost
|
|
||||||
FTP_USER_NAME: foo
|
|
||||||
FTP_USER_PASS: pass
|
|
||||||
FTP_USER_HOME: /home/foo
|
|
||||||
image: stilliard/pure-ftpd
|
|
||||||
ports:
|
|
||||||
- "2122:21"
|
|
||||||
- "30000-30009:30000-30009"
|
|
||||||
command: "/run.sh -l puredb:/etc/pure-ftpd/pureftpd.pdb -E -j -P localhost"
|
|
||||||
toxiproxy:
|
|
||||||
container_name: toxiproxy
|
|
||||||
restart: unless-stopped
|
|
||||||
image: ghcr.io/shopify/toxiproxy
|
|
||||||
command: "-host 0.0.0.0 -config /opt/toxiproxy/config.json"
|
|
||||||
volumes:
|
|
||||||
- ./test_files/toxiproxy/toxiproxy.json:/opt/toxiproxy/config.json:ro
|
|
||||||
ports:
|
|
||||||
- "8474:8474" # HTTP API
|
|
||||||
- "8222:8222" # SFTP
|
|
||||||
- "8121:8121" # FTP
|
|
||||||
- "8122:8122" # FTPD
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
github: [RubixML, andrewdalpino]
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
name: "Code Checks"
|
|
||||||
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Build:
|
|
||||||
name: PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
|
|
||||||
runs-on: ${{ matrix.operating-system }}
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
operating-system: [windows-latest, ubuntu-latest, macos-latest]
|
|
||||||
php-versions: ['7.2', '7.3', '7.4']
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php-versions }}
|
|
||||||
tools: pecl
|
|
||||||
extensions: svm, mbstring, redis, igbinary, gd, fileinfo
|
|
||||||
ini-values: memory_limit=-1
|
|
||||||
|
|
||||||
- name: Validate composer.json
|
|
||||||
run: composer validate
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: composer install
|
|
||||||
|
|
||||||
- name: Static Analysis
|
|
||||||
run: composer analyze
|
|
||||||
|
|
||||||
- name: Unit Tests
|
|
||||||
run: composer test
|
|
||||||
|
|
||||||
- name: Coding Style
|
|
||||||
run: composer check
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
name: "CLA Assistant"
|
|
||||||
|
|
||||||
on:
|
|
||||||
issue_comment:
|
|
||||||
types: [created]
|
|
||||||
pull_request_target:
|
|
||||||
types: [opened, closed, synchronize]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
CLAssistant:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: "CLA Assistant"
|
|
||||||
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
|
|
||||||
uses: cla-assistant/github-action@v2.0.2-alpha
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOT_TOKEN }}
|
|
||||||
with:
|
|
||||||
remote-organization-name: 'RubixML'
|
|
||||||
remote-repository-name: 'Signatures'
|
|
||||||
path-to-document: 'https://github.com/RubixML/Signatures/blob/master/CLA.md'
|
|
||||||
path-to-signatures: 'cla-v1.json'
|
|
||||||
branch: 'master'
|
|
||||||
allowlist: bot*
|
|
||||||
@@ -1,331 +0,0 @@
|
|||||||
site_name: 'Rubix ML'
|
|
||||||
|
|
||||||
theme:
|
|
||||||
name: material
|
|
||||||
logo: images/app-icon-medium.png
|
|
||||||
favicon: images/app-icon-small.png
|
|
||||||
icon:
|
|
||||||
repo: fontawesome/brands/github
|
|
||||||
features:
|
|
||||||
- navigation.tabs
|
|
||||||
|
|
||||||
nav:
|
|
||||||
- Home: https://rubixml.com
|
|
||||||
- Getting Started:
|
|
||||||
- Welcome: index.md
|
|
||||||
- What is Machine Learning?: what-is-machine-learning.md
|
|
||||||
- Installation: installation.md
|
|
||||||
- Basic Introduction: basic-introduction.md
|
|
||||||
- User Guide:
|
|
||||||
- Representing Your Data: representing-your-data.md
|
|
||||||
- Extracting Data: extracting-data.md
|
|
||||||
- Preprocessing: preprocessing.md
|
|
||||||
- Choosing an Estimator: choosing-an-estimator.md
|
|
||||||
- Training: training.md
|
|
||||||
- Inference: inference.md
|
|
||||||
- Cross-validation: cross-validation.md
|
|
||||||
- Hyper-parameter Tuning: hyper-parameter-tuning.md
|
|
||||||
- Model Persistence: model-persistence.md
|
|
||||||
- API Reference:
|
|
||||||
- Fundamental Interfaces:
|
|
||||||
- Estimator: estimator.md
|
|
||||||
- Learner: learner.md
|
|
||||||
- Online: online.md
|
|
||||||
- Parallel: parallel.md
|
|
||||||
- Persistable: persistable.md
|
|
||||||
- Probabilistic: probabilistic.md
|
|
||||||
- Ranks Features: ranks-features.md
|
|
||||||
- Scoring: scoring.md
|
|
||||||
- Verbose: verbose.md
|
|
||||||
- Wrapper: wrapper.md
|
|
||||||
- Extractors:
|
|
||||||
- API Reference: extractors/api.md
|
|
||||||
- Column Picker: extractors/column-picker.md
|
|
||||||
- CSV: extractors/csv.md
|
|
||||||
- JSON: extractors/json.md
|
|
||||||
- NDJSON: extractors/ndjson.md
|
|
||||||
- Dataset Objects:
|
|
||||||
- API Reference: datasets/api.md
|
|
||||||
- Generators:
|
|
||||||
- API Reference: datasets/generators/api.md
|
|
||||||
- Agglomerate: datasets/generators/agglomerate.md
|
|
||||||
- Blob: datasets/generators/blob.md
|
|
||||||
- Circle: datasets/generators/circle.md
|
|
||||||
- Half Moon: datasets/generators/half-moon.md
|
|
||||||
- Hyperplane: datasets/generators/hyperplane.md
|
|
||||||
- Swiss Roll: datasets/generators/swiss-roll.md
|
|
||||||
- Labeled: datasets/labeled.md
|
|
||||||
- Unlabeled: datasets/unlabeled.md
|
|
||||||
- Classifiers:
|
|
||||||
- AdaBoost: classifiers/adaboost.md
|
|
||||||
- Classification Tree: classifiers/classification-tree.md
|
|
||||||
- Dummy Classifier: classifiers/dummy-classifier.md
|
|
||||||
- Extra Tree Classifier: classifiers/extra-tree-classifier.md
|
|
||||||
- Gaussian Naive Bayes: classifiers/gaussian-naive-bayes.md
|
|
||||||
- K-d Neighbors: classifiers/kd-neighbors.md
|
|
||||||
- K Nearest Neighbors: classifiers/k-nearest-neighbors.md
|
|
||||||
- Logistic Regression: classifiers/logistic-regression.md
|
|
||||||
- Multilayer Perceptron: classifiers/multilayer-perceptron.md
|
|
||||||
- Naive Bayes: classifiers/naive-bayes.md
|
|
||||||
- Radius Neighbors: classifiers/radius-neighbors.md
|
|
||||||
- Random Forest: classifiers/random-forest.md
|
|
||||||
- Softmax Classifier: classifiers/softmax-classifier.md
|
|
||||||
- SVC: classifiers/svc.md
|
|
||||||
- Regressors:
|
|
||||||
- Adaline: regressors/adaline.md
|
|
||||||
- Dummy Regressor: regressors/dummy-regressor.md
|
|
||||||
- Extra Tree Regressor: regressors/extra-tree-regressor.md
|
|
||||||
- Gradient Boost: regressors/gradient-boost.md
|
|
||||||
- K-d Neighbors Regressor: regressors/kd-neighbors-regressor.md
|
|
||||||
- KNN Regressor: regressors/knn-regressor.md
|
|
||||||
- MLP Regressor: regressors/mlp-regressor.md
|
|
||||||
- Radius Neighbors Regressor: regressors/radius-neighbors-regressor.md
|
|
||||||
- Regression Tree: regressors/regression-tree.md
|
|
||||||
- Ridge: regressors/ridge.md
|
|
||||||
- SVR: regressors/svr.md
|
|
||||||
- Clusterers:
|
|
||||||
- Seeders:
|
|
||||||
- K-MC2: clusterers/seeders/k-mc2.md
|
|
||||||
- Plus Plus: clusterers/seeders/plus-plus.md
|
|
||||||
- Random: clusterers/seeders/random.md
|
|
||||||
- DBSCAN: clusterers/dbscan.md
|
|
||||||
- Fuzzy C Means: clusterers/fuzzy-c-means.md
|
|
||||||
- Gaussian Mixture: clusterers/gaussian-mixture.md
|
|
||||||
- K Means: clusterers/k-means.md
|
|
||||||
- Mean Shift: clusterers/mean-shift.md
|
|
||||||
- Anomaly Detectors:
|
|
||||||
- Gaussian MLE: anomaly-detectors/gaussian-mle.md
|
|
||||||
- Isolation Forest: anomaly-detectors/isolation-forest.md
|
|
||||||
- Loda: anomaly-detectors/loda.md
|
|
||||||
- Local Outlier Factor: anomaly-detectors/local-outlier-factor.md
|
|
||||||
- One Class SVM: anomaly-detectors/one-class-svm.md
|
|
||||||
- Robust Z-Score: anomaly-detectors/robust-z-score.md
|
|
||||||
- Meta Estimators:
|
|
||||||
- Bootstrap Aggregator: bootstrap-aggregator.md
|
|
||||||
- Committee Machine: committee-machine.md
|
|
||||||
- Grid Search: grid-search.md
|
|
||||||
- Persistent Model: persistent-model.md
|
|
||||||
- Pipeline: pipeline.md
|
|
||||||
- Embedders:
|
|
||||||
- API Reference: embedders/api.md
|
|
||||||
- t-SNE: embedders/t-sne.md
|
|
||||||
- Transformers:
|
|
||||||
- API Reference: transformers/api.md
|
|
||||||
- Standardization and Normalization:
|
|
||||||
- L1 Normalizer: transformers/l1-normalizer.md
|
|
||||||
- L2 Normalizer: transformers/l2-normalizer.md
|
|
||||||
- Max Absolute Scaler: transformers/max-absolute-scaler.md
|
|
||||||
- Min Max Normalizer: transformers/min-max-normalizer.md
|
|
||||||
- Robust Standardizer: transformers/robust-standardizer.md
|
|
||||||
- Z Scale Standardizer: transformers/z-scale-standardizer.md
|
|
||||||
- Dimensionality Reduction:
|
|
||||||
- Dense Random Projector: transformers/dense-random-projector.md
|
|
||||||
- Gaussian Random Projector: transformers/gaussian-random-projector.md
|
|
||||||
- Linear Discriminant Analysis: transformers/linear-discriminant-analysis.md
|
|
||||||
- Principal Component Analysis: transformers/principal-component-analysis.md
|
|
||||||
- Sparse Random Projector: transformers/sparse-random-projector.md
|
|
||||||
- Truncated SVD: transformers/truncated-svd.md
|
|
||||||
- Feature Conversion:
|
|
||||||
- Interval Discretizer: transformers/interval-discretizer.md
|
|
||||||
- One Hot Encoder: transformers/one-hot-encoder.md
|
|
||||||
- Numeric String Converter: transformers/numeric-string-converter.md
|
|
||||||
- Boolean Converter: transformers/boolean-converter.md
|
|
||||||
- Feature Selection:
|
|
||||||
- K Best Feature Selector: transformers/k-best-feature-selector.md
|
|
||||||
- Recursive Feature Eliminator: transformers/recursive-feature-eliminator.md
|
|
||||||
- Imputation:
|
|
||||||
- KNN Imputer: transformers/knn-imputer.md
|
|
||||||
- Missing Data Imputer: transformers/missing-data-imputer.md
|
|
||||||
- Random Hot Deck Imputer: transformers/random-hot-deck-imputer.md
|
|
||||||
- Image Transformers:
|
|
||||||
- Image Resizer: transformers/image-resizer.md
|
|
||||||
- Image Vectorizer: transformers/image-vectorizer.md
|
|
||||||
- Text Transformers:
|
|
||||||
- HTML Stripper: transformers/html-stripper.md
|
|
||||||
- Regex Filter: transformers/regex-filter.md
|
|
||||||
- Text Normalizer: transformers/text-normalizer.md
|
|
||||||
- Multibyte Text Normalizer: transformers/multibyte-text-normalizer.md
|
|
||||||
- Stop Word Filter: transformers/stop-word-filter.md
|
|
||||||
- TF-IDF Transformer: transformers/tf-idf-transformer.md
|
|
||||||
- Whitespace Trimmer: transformers/whitespace-trimmer.md
|
|
||||||
- Word Count Vectorizer: transformers/word-count-vectorizer.md
|
|
||||||
- Other:
|
|
||||||
- Polynomial Expander: transformers/polynomial-expander.md
|
|
||||||
- Neural Network:
|
|
||||||
- Hidden Layers:
|
|
||||||
- Activation: neural-network/hidden-layers/activation.md
|
|
||||||
- Batch Norm: neural-network/hidden-layers/batch-norm.md
|
|
||||||
- Dense: neural-network/hidden-layers/dense.md
|
|
||||||
- Dropout: neural-network/hidden-layers/dropout.md
|
|
||||||
- Noise: neural-network/hidden-layers/noise.md
|
|
||||||
- PReLU: neural-network/hidden-layers/prelu.md
|
|
||||||
- Activation Functions:
|
|
||||||
- ELU: neural-network/activation-functions/elu.md
|
|
||||||
- Hyperbolic Tangent: neural-network/activation-functions/hyperbolic-tangent.md
|
|
||||||
- Leaky ReLU: neural-network/activation-functions/leaky-relu.md
|
|
||||||
- ReLU: neural-network/activation-functions/relu.md
|
|
||||||
- SELU: neural-network/activation-functions/selu.md
|
|
||||||
- Sigmoid: neural-network/activation-functions/sigmoid.md
|
|
||||||
- Softmax: neural-network/activation-functions/softmax.md
|
|
||||||
- Soft Plus: neural-network/activation-functions/soft-plus.md
|
|
||||||
- Soft Sign: neural-network/activation-functions/softsign.md
|
|
||||||
- Thresholded ReLU: neural-network/activation-functions/thresholded-relu.md
|
|
||||||
- Cost Functions:
|
|
||||||
- Cross Entropy: neural-network/cost-functions/cross-entropy.md
|
|
||||||
- Huber Loss: neural-network/cost-functions/huber-loss.md
|
|
||||||
- Least Squares: neural-network/cost-functions/least-squares.md
|
|
||||||
- Relative Entropy: neural-network/cost-functions/relative-entropy.md
|
|
||||||
- Initializers:
|
|
||||||
- Constant: neural-network/initializers/constant.md
|
|
||||||
- He: neural-network/initializers/he.md
|
|
||||||
- LeCun: neural-network/initializers/lecun.md
|
|
||||||
- Normal: neural-network/initializers/normal.md
|
|
||||||
- Uniform: neural-network/initializers/uniform.md
|
|
||||||
- Xavier 1: neural-network/initializers/xavier-1.md
|
|
||||||
- Xavier 2: neural-network/initializers/xavier-2.md
|
|
||||||
- Optimizers:
|
|
||||||
- AdaGrad: neural-network/optimizers/adagrad.md
|
|
||||||
- Adam: neural-network/optimizers/adam.md
|
|
||||||
- AdaMax: neural-network/optimizers/adamax.md
|
|
||||||
- Cyclical: neural-network/optimizers/cyclical.md
|
|
||||||
- Momentum: neural-network/optimizers/momentum.md
|
|
||||||
- RMS Prop: neural-network/optimizers/rms-prop.md
|
|
||||||
- Step Decay: neural-network/optimizers/step-decay.md
|
|
||||||
- Stochastic: neural-network/optimizers/stochastic.md
|
|
||||||
- Graph:
|
|
||||||
- Trees:
|
|
||||||
- Ball Tree: graph/trees/ball-tree.md
|
|
||||||
- K-d Tree: graph/trees/k-d-tree.md
|
|
||||||
- Kernels:
|
|
||||||
- Distance:
|
|
||||||
- Canberra: kernels/distance/canberra.md
|
|
||||||
- Cosine: kernels/distance/cosine.md
|
|
||||||
- Diagonal: kernels/distance/diagonal.md
|
|
||||||
- Euclidean: kernels/distance/euclidean.md
|
|
||||||
- Hamming: kernels/distance/hamming.md
|
|
||||||
- Jaccard: kernels/distance/jaccard.md
|
|
||||||
- Manhattan: kernels/distance/manhattan.md
|
|
||||||
- Minkowski: kernels/distance/minkowski.md
|
|
||||||
- Safe Euclidean: kernels/distance/safe-euclidean.md
|
|
||||||
- SVM:
|
|
||||||
- Linear: kernels/svm/linear.md
|
|
||||||
- Polynomial: kernels/svm/polynomial.md
|
|
||||||
- RBF: kernels/svm/rbf.md
|
|
||||||
- Sigmoidal: kernels/svm/sigmoidal.md
|
|
||||||
- Cross Validation:
|
|
||||||
- Metrics:
|
|
||||||
- API Reference: cross-validation/metrics/api.md
|
|
||||||
- Accuracy: cross-validation/metrics/accuracy.md
|
|
||||||
- F Beta: cross-validation/metrics/f-beta.md
|
|
||||||
- Informedness: cross-validation/metrics/informedness.md
|
|
||||||
- MCC: cross-validation/metrics/mcc.md
|
|
||||||
- Mean Absolute Error: cross-validation/metrics/mean-absolute-error.md
|
|
||||||
- Mean Squared Error: cross-validation/metrics/mean-squared-error.md
|
|
||||||
- Median Absolute Error: cross-validation/metrics/median-absolute-error.md
|
|
||||||
- RMSE: cross-validation/metrics/rmse.md
|
|
||||||
- R Squared: cross-validation/metrics/r-squared.md
|
|
||||||
- SMAPE: cross-validation/metrics/smape.md
|
|
||||||
- Completeness: cross-validation/metrics/completeness.md
|
|
||||||
- Homogeneity: cross-validation/metrics/homogeneity.md
|
|
||||||
- Rand Index: cross-validation/metrics/rand-index.md
|
|
||||||
- V Measure: cross-validation/metrics/v-measure.md
|
|
||||||
- Reports:
|
|
||||||
- API Reference: cross-validation/reports/api.md
|
|
||||||
- Aggregate Report: cross-validation/reports/aggregate-report.md
|
|
||||||
- Confusion Matrix: cross-validation/reports/confusion-matrix.md
|
|
||||||
- Contingency Table: cross-validation/reports/contingency-table.md
|
|
||||||
- Error Analysis: cross-validation/reports/error-analysis.md
|
|
||||||
- Multiclass Breakdown: cross-validation/reports/multiclass-breakdown.md
|
|
||||||
- Validators:
|
|
||||||
- API Reference: cross-validation/api.md
|
|
||||||
- Hold Out: cross-validation/hold-out.md
|
|
||||||
- K Fold: cross-validation/k-fold.md
|
|
||||||
- Leave P Out: cross-validation/leave-p-out.md
|
|
||||||
- Monte Carlo: cross-validation/monte-carlo.md
|
|
||||||
- Persisters:
|
|
||||||
- API Reference: persisters/api.md
|
|
||||||
- Filesystem: persisters/filesystem.md
|
|
||||||
- Flysystem: persisters/flysystem.md
|
|
||||||
- Redis DB: persisters/redis-db.md
|
|
||||||
- Serializers:
|
|
||||||
- Gzip: persisters/serializers/gzip.md
|
|
||||||
- Igbinary: persisters/serializers/igbinary.md
|
|
||||||
- Native: persisters/serializers/native.md
|
|
||||||
- RBX: persisters/serializers/rbx.md
|
|
||||||
- Backends:
|
|
||||||
- Amp: backends/amp.md
|
|
||||||
- Serial: backends/serial.md
|
|
||||||
- Other:
|
|
||||||
- Helpers:
|
|
||||||
- Params: other/helpers/params.md
|
|
||||||
- Loggers:
|
|
||||||
- Screen: other/loggers/screen.md
|
|
||||||
- Strategies:
|
|
||||||
- Constant: other/strategies/constant.md
|
|
||||||
- K Most Frequent: other/strategies/k-most-frequent.md
|
|
||||||
- Mean: other/strategies/mean.md
|
|
||||||
- Percentile: other/strategies/percentile.md
|
|
||||||
- Prior: other/strategies/prior.md
|
|
||||||
- Wild Guess: other/strategies/wild-guess.md
|
|
||||||
- Tokenizers:
|
|
||||||
- K-Skip-N-Gram: other/tokenizers/k-skip-n-gram.md
|
|
||||||
- N-Gram: other/tokenizers/n-gram.md
|
|
||||||
- Sentence: other/tokenizers/sentence.md
|
|
||||||
- Skip Gram: other/tokenizers/skip-gram.md
|
|
||||||
- Whitespace: other/tokenizers/whitespace.md
|
|
||||||
- Word: other/tokenizers/word.md
|
|
||||||
- FAQ: faq.md
|
|
||||||
|
|
||||||
extra:
|
|
||||||
version:
|
|
||||||
provider: mike
|
|
||||||
social:
|
|
||||||
- icon: fontawesome/brands/github
|
|
||||||
link: https://github.com/RubixML
|
|
||||||
- icon: fontawesome/brands/telegram
|
|
||||||
link: https://t.me/RubixML
|
|
||||||
- icon: fontawesome/brands/twitter
|
|
||||||
link: https://twitter.com/RubixML
|
|
||||||
- icon: fontawesome/brands/linkedin
|
|
||||||
link: https://www.linkedin.com/groups/8952251/
|
|
||||||
|
|
||||||
use_directory_urls: false
|
|
||||||
|
|
||||||
plugins:
|
|
||||||
- search
|
|
||||||
- git-revision-date
|
|
||||||
|
|
||||||
markdown_extensions:
|
|
||||||
- attr_list
|
|
||||||
- abbr
|
|
||||||
- admonition
|
|
||||||
- pymdownx.highlight:
|
|
||||||
extend_pygments_lang:
|
|
||||||
- name: php
|
|
||||||
lang: php
|
|
||||||
options:
|
|
||||||
startinline: true
|
|
||||||
- pymdownx.superfences
|
|
||||||
- pymdownx.arithmatex:
|
|
||||||
generic: true
|
|
||||||
- toc:
|
|
||||||
permalink: "#"
|
|
||||||
- footnotes
|
|
||||||
|
|
||||||
google_analytics:
|
|
||||||
- UA-136137674-1
|
|
||||||
- auto
|
|
||||||
|
|
||||||
extra_javascript:
|
|
||||||
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
|
||||||
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
|
|
||||||
- js/custom.js
|
|
||||||
|
|
||||||
extra_css:
|
|
||||||
- css/custom.css
|
|
||||||
|
|
||||||
repo_url: https://github.com/RubixML/ML
|
|
||||||
site_url: https://rubixml.com
|
|
||||||
site_description: 'A high-level machine learning and deep learning library for the PHP language.'
|
|
||||||
|
|
||||||
copyright: '© 2021 Rubix ML'
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
github: [RubixML, andrewdalpino]
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
name: Compile extension
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- ".github/workflows/ci-ext.*"
|
|
||||||
- "ext/**"
|
|
||||||
- package.xml
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- "**"
|
|
||||||
paths:
|
|
||||||
- ".github/workflows/ci-ext.*"
|
|
||||||
- "ext/**"
|
|
||||||
- package.xml
|
|
||||||
tags-ignore:
|
|
||||||
- "**"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
compile:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
image:
|
|
||||||
- php:7.2-cli
|
|
||||||
- php:7.2-cli-alpine
|
|
||||||
- php:7.3-cli
|
|
||||||
- php:7.3-cli-alpine
|
|
||||||
- php:7.4-cli
|
|
||||||
- php:7.4-cli-alpine
|
|
||||||
name: Image ${{ matrix.image }}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Pull docker image
|
|
||||||
run: docker pull ${{ matrix.image }}
|
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Compile
|
|
||||||
run: docker run --rm -v "$GITHUB_WORKSPACE:/app" ${{ matrix.image }} /app/.github/workflows/ci-ext.sh
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
name: "Code Checks"
|
|
||||||
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
|
|
||||||
runs-on: ${{ matrix.operating-system }}
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
operating-system: [windows-latest, ubuntu-latest, macos-latest]
|
|
||||||
php-versions: ['7.2', '7.3', '7.4']
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: ${{ matrix.php-versions }}
|
|
||||||
ini-values: memory_limit=-1
|
|
||||||
|
|
||||||
- name: Validate composer.json
|
|
||||||
run: composer validate
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: composer install
|
|
||||||
|
|
||||||
- name: Static Analysis
|
|
||||||
run: composer analyze
|
|
||||||
|
|
||||||
- name: Run Unit Tests
|
|
||||||
run: composer test
|
|
||||||
|
|
||||||
- name: Check Coding Style
|
|
||||||
run: composer check
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
name: "CLA Assistant"
|
|
||||||
|
|
||||||
on:
|
|
||||||
issue_comment:
|
|
||||||
types: [created]
|
|
||||||
pull_request_target:
|
|
||||||
types: [opened, closed, synchronize]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
CLAssistant:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: "CLA Assistant"
|
|
||||||
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
|
|
||||||
uses: cla-assistant/github-action@v2.0.2-alpha
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOT_TOKEN }}
|
|
||||||
with:
|
|
||||||
remote-organization-name: 'RubixML'
|
|
||||||
remote-repository-name: 'Signatures'
|
|
||||||
path-to-document: 'https://github.com/RubixML/Signatures/blob/master/CLA.md'
|
|
||||||
path-to-signatures: 'cla-v1.json'
|
|
||||||
branch: 'master'
|
|
||||||
allowlist: bot*
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
language: php
|
|
||||||
php:
|
|
||||||
- 7.1
|
|
||||||
- 7.2
|
|
||||||
- 7.3
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- "$HOME/.composer/cache/files"
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
- php --info
|
|
||||||
- composer self-update
|
|
||||||
- composer install
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user