Posts

  • php-mock-phpunit

    Mock built-in PHP functions (e.g. time() or rand()) in PHPUnit.

    This package integrates the function mock library PHP-Mock with PHPUnit.

    Tags: #php • mock • phpunit

  • omniauth-wechat-oauth2

    Wechat OAuth2 Strategy for OmniAuth 1.0.

    Add to your Gemfile:

    gem "omniauth-wechat-oauth2"
    

    Then bundle install.

    Tags: #ruby

  • react-native-header-view

    Fully customizable Header View with multiple design options for React Native.

    Finally, this library got the version 1.0.0. More than 5k downloads and it is separated by each header view. This library contains the collection of each header view. If you do not need to use them all, you can reach and install header views on its own repository.

    Tags: #java • header • react

  • duck-duck-scrape

    🔎 Search from DuckDuckGo and utilize its spice APIs in Node

    • Search
      • Regular search
      • Image search
      • Video search
      • News search
    • Stocks (via Xignite)
    • Time for Location API (via timeanddate.com)
    • Currency Conversion (via XE)
    • Forecast (via Dark Sky)
    • Dictionary
      • Definition
      • Audio
      • Pronunciation
      • Hyphenation

    Tags: #typescript • duckduckgo • search

  • nZEDb

    nZEDb - a fork of nnplus(2011) | NNTP / Usenet / Newsgroup indexer.

    System Administration know-how. nZEDb is not plug-n-play software. Installation and operation requires a moderate amount of administration experience. nZEDb is designed and developed with GNU/Linux operating systems. Certain features are not available on other platforms. An experienced Windows administrator should be able to run nZEDb on a Windows OS.

    Tags: #php • nzedb • nntp

  • wasmer-php

    🐘🕸️ WebAssembly runtime for PHP

    • Easy to use: The wasmer API mimics the standard WebAssembly C API,
    • Fast: wasmer executes the WebAssembly modules as fast as possible, close to native speed,
    • Safe: All calls to WebAssembly will be fast, but more importantly, completely safe and sandboxed.

    Tags: #php • php-extension • rust

  • mock-socket

    Javascript mocking library for WebSockets and Socket.IO

    Tags: #javascript • websockets • mocking

  • color-extractor

    Extract colors from an image like a human would do.

    Via Composer

    $ composer require league/color-extractor
    

    Tags: #php

  • react-native-alipay

    基于 React Native 的宝支付包,已更新到最新的支付宝 SDK 版本,支持Android/iOS。

    1. Android:支持2.3及以上的系统版本运行。
    2. iOS:iOS 6.0以上(包含iOS 6.0)。
    3. 支持手机系统:iOS(苹果)、Android(安卓)。
    4. 调试请注意 支付宝接入应用必须 已审核通过 状态。
    5. 支付宝开放平台-管理中心,签约 APP支付APP支付宝登录 功能。
    6. 适用于 react-native >= 0.60+ 低版本未测试。
    7. AlipaySDK 15.7.7 已更新到最新的支付宝 SDK 版本。
    8. URL Schemes 要以字母开头不能为纯数字。

    Tags: #java • react-native • reactjs

  • Boruta-Shap

    A Tree based feature selection tool which combines both the Boruta feature selection algorithm with shapley values.

    BorutaShap is a wrapper feature selection method which combines both the Boruta feature selection algorithm with shapley values. This combination has proven to out perform the original Permutation Importance method in both speed, and the quality of the feature subset produced. Not only does this algorithm provide a better subset of features, but it can also simultaneously provide the most accurate and consistent global feature rankings which can be used for model inference too. Unlike the orginal R package, which limits the user to a Random Forest model, BorutaShap allows the user to choose any Tree Based learner as the base model in the feature selection process.

    Despite BorutaShap’s runtime improvements the SHAP TreeExplainer scales linearly with the number of observations making it’s use cumbersome for large datasets. To combat this, BorutaShap includes a sampling procedure which uses the smallest possible subsample of the data availble at each iteration of the algorithm. It finds this sample by comparing the distributions produced by an isolation forest of the sample and the data using ks-test. From experiments, this procedure can reduce the run time up to 80% while still creating a valid approximation of the entire data set. Even with these improvments the user still might want a faster solution so BorutaShap has included an option to use the mean decrease in gini impurity. This importance measure is independent of the size dataset as it uses the tree’s structure to compute a global feature ranking making it much faster than SHAP at larger datasets. Although this metric returns somewhat comparable feature subsets, it is not a reliable measure of global feature importance in spite of it’s wide spread use. Thus, I would recommend to using the SHAP metric whenever possible.

    Tags: #python

subscribe via RSS