並び順

ブックマーク数

期間指定

  • から
  • まで

361 - 400 件 / 873件

新着順 人気順

algorithmの検索結果361 - 400 件 / 873件

  • Timsort — the fastest sorting algorithm you’ve never heard of | HackerNoon

    Too Long; Didn't ReadTimsort: A very fast , O(n log n), stable sorting algorithm built for the real world — not constructed in academia. Photo by Marc Sendra martorell on Unsplash Timsort: A very fast , O(n log n), stable sorting algorithm built for the real world — not constructed in academia. Click here to view the updated article: Timsort - the fastest sorting algorithm you've never heard

      Timsort — the fastest sorting algorithm you’ve never heard of | HackerNoon
    • GitHub - phoboslab/js-hqx: hqx Pixel Art Scaling Algorithm in JavaScript

      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

        GitHub - phoboslab/js-hqx: hqx Pixel Art Scaling Algorithm in JavaScript
      • How machine learning powers Facebook’s News Feed ranking algorithm

        How machine learning powers Facebook’s News Feed ranking algorithm Designing a personalized ranking system for more than 2 billion people (all with different interests) and a plethora of content to select from presents significant, complex challenges. This is something we tackle every day with News Feed ranking. Without machine learning (ML), people’s News Feeds could be flooded with content they

          How machine learning powers Facebook’s News Feed ranking algorithm
        • ALGORITHM NOTE 隣接行列

          行列という名の通り、グラフを2次元配列で表現します。配列のインデックスが各ノードの番号に対応します。例えば、この2次元配列を M とすると、M[i][j] がノード i とノード j の関係を表します。 無向グラフ ノード i とノード j の間にエッジがある場合、M[i][j] と M[j][i] の値を 1 とします。エッジがない場合は 0 とします。隣接行列は右上と左下が対照になります。 有向グラフ ノード i からノード j へ向かってエッジがある場合、M[i][j] の値を 1 とします。エッジがない場合は 0 とします。 重みつき無向グラフ ノード i とノード j の間に重さ w のエッジがある場合、M[i][j] と M[j][i] の値を w とします。エッジがない場合は、問題上有り得ない値に設定します。例では∞としていますが、プログラムでは非常に大きな値に設定しておくと

          • Acronym Creator - find a name for your company, project, algorithm

            Trying to find a name for a company, project, algorithm, product? Acronym Creator helps you generate a name that is an acronym or abbreviation. With this acronym builder, abbreviation maker, name generator, label finder - whatever you call it - you can make your own acronyms and have fun!

            • DeepAR Algorithm Now Available in Amazon SageMaker

              You can now use the DeepAR forecasting algorithm for model training in Amazon SageMaker. DeepAR is an algorithm that generates accurate forecasts by learning patterns from time-series over multiple large sets of training data with related time-series. The DeepAR algorithm learns similarities across the related items in the dataset to provide more accurate forecasts. This method improves upon commo

                DeepAR Algorithm Now Available in Amazon SageMaker
              • I Wrote a Faster Sorting Algorithm

                So in this case there were nine elements in total. The number 1 showed up twice, the number 2 showed up once, the number 4 showed up five times and the number 5 showed up once. So maybe the input sequence was { 4, 4, 2, 4, 1, 1, 4, 5, 4 }. The final loop now goes over the initial array again and uses the key to look up into the prefix sum array. And lo and behold, that array tells us the final pos

                  I Wrote a Faster Sorting Algorithm
                • Nagle's algorithm - Wikipedia

                  This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Nagle's algorithm" – news · newspapers · books · scholar · JSTOR (June 2014) (Learn how and when to remove this message) Nagle's algorithm is a means of improving the efficiency of TCP/IP networks by red

                  • Designing a Tree Diff Algorithm Using Dynamic Programming and A* - Tristan Hume

                    During my internship at Jane Street1, one of my projects was a config editing tool that at first sounded straightforward but culminated in me designing a custom tree diffing algorithm using dynamic programming, relentlessly optimizing it and then transforming it into an A* accelerated path finding algorithm. This post is the story of the design and optimization of the algorithm, of interest to any

                    • Algorithm-Driven Design: How Artificial Intelligence Is Changing Design — Smashing Magazine

                      Digital products are getting more and more complex. In this article, Yury Vetrov explains why we need to support more platforms, tweak usage scenarios for more user segments, and hypothesize more. Our industry has both high- and low-skilled designers, and it will be easy for algorithms to replace the latter. However, those who can follow and break rules when necessary will find magical new tools a

                        Algorithm-Driven Design: How Artificial Intelligence Is Changing Design — Smashing Magazine
                      • 株式会社エス・スリー・フォー » STL Samples : <algorithm>

                        STL Samples : <algorithm> 適用 for_each - template<class InputIterator, class Function> Function for_each(InputIterator first, InputIterator last, Function f); [first,last)にあるすべてのiに対し、f(*i)を行います。f(*i)の戻り値は無視されます。 #include <iostream> #include <algorithm> #include <vector> #include "to_string.h" using namespace std; struct print { void operator()(const int& i) { cout << i << ','; } }; void printfun(co

                        • 8.5. bisect — Array bisection algorithm — Python 2.7.18 documentation

                          This document is for an old version of Python that is no longer supported. You should upgrade and read the Python documentation for the current stable release. Source code: Lib/bisect.py This module provides support for maintaining a list in sorted order without having to sort the list after each insertion. For long lists of items with expensive comparison operations, this can be an improvement ov

                          • Divide-and-conquer algorithm - Wikipedia

                            In computer science, divide and conquer is an algorithm design paradigm. A divide-and-conquer algorithm recursively breaks down a problem into two or more sub-problems of the same or related type, until these become simple enough to be solved directly. The solutions to the sub-problems are then combined to give a solution to the original problem. The divide-and-conquer technique is the basis of ef

                            • Wilson’s Algorithm

                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                Wilson’s Algorithm
                              • GitHub - gjuchault/fuzzyjs: fuzzyjs is a fuzzy search algorithm in javascript

                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                  GitHub - gjuchault/fuzzyjs: fuzzyjs is a fuzzy search algorithm in javascript
                                • GitHub - cenkalti/backoff: ⏱ The exponential backoff algorithm in Go

                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                    GitHub - cenkalti/backoff: ⏱ The exponential backoff algorithm in Go
                                  • Google Algorithm Updates - Latest News & History

                                    Throughout the year Google is constantly making updates to their algorithms, and that causes rank fluctuations in the search results. So far In 2024, Google has rolled out its first confirmed core algorithm update. This update contains enhancements to multiple systems in the core algorithm, including its spam policies. Below you’ll find an up-to-date summary of the confirmed and unconfirmed update

                                      Google Algorithm Updates - Latest News & History
                                    • Kadane’s Algorithm | 最大部分配列 問題 - Ark's Blog

                                      DPについて調べてたらKadane's algorithmという聞いたことないアルゴリズムが出てきたので調べてみた。 Kadane's algorithmは、最大部分配列問題(maximum subarray problem)をで解くアルゴリズムみたいです。 以下は、最大部分配列問題とそれを解くアルゴリズムの解説です。 最大部分配列問題とは 最大部分配列問題(maximum subarray problem)とは、与えられた配列に対して、その(連続した)部分配列のうち和が最大となるものの値を求める問題のことです。 形式化すると次のようになります。(添字は0-basedとします) 入力: 大きさの数列 出力: 以下、 とおきます。 解法 全探索1: 全探索2: Divide and Conquer: Kadane's algorithm: 全探索1 普通に全探索します。 long solve

                                        Kadane’s Algorithm | 最大部分配列 問題 - Ark's Blog
                                      • 論文翻訳: In Search of an Understandable Consensus Algorithm (Extended Version) - MOXBOX #Raft

                                        論文翻訳: In Search of an Understandable Consensus Algorithm (Extended Version) Abstract Raft は複製されたログを管理するためのコンセンサスアルゴリズムである。これは (Multi-) Paxosと同等の結果を生み出し Paxos と同程度に効率的だが、その構造は Paxos とは異なる; Raft によって Paxos よりも理解しやすく実用的なシステムを構築するためのより良い基盤が提供される。わかりやすさを高めるために Raft はリーダー選挙、ログ複製、安全性といった合意の重要な要素を分離し、考慮すべき状態の数を減らすためにより強力な一貫性を強制する。ユーザ調査の結果から Raft は Paxos よりも習得しやすいことを示している。Raft にはクラスタメンバーシップを変更するための新しいメカニズム

                                          論文翻訳: In Search of an Understandable Consensus Algorithm (Extended Version) - MOXBOX #Raft
                                        • テトリスでお好みのドット絵を描画できるプログラム 「Tetris Printer Algorithm」 : 銃とバッジは置いていけ

                                          2013年06月05日 カテゴリ面白動画-凄い テトリスでお好みのドット絵を描画できるプログラム 「Tetris Printer Algorithm」 テトリスで積み上げるブロックを使って絵を描画する、という愉快なアルゴリズムが開発されたのだそうです。動画では積んで消してが瞬間的に何度も行われ、おなじみニンテンドーキャラがガシガシ描画、見ているうちにだんだん興奮してきます・・・・ Tetris Printer Algorithm 「面白動画-凄い」カテゴリの最新記事

                                            テトリスでお好みのドット絵を描画できるプログラム 「Tetris Printer Algorithm」 : 銃とバッジは置いていけ
                                          • Google Confirms The Real Time Penguin Algorithm Is Coming Soon

                                            Google’s Gary Illyes said today at SMX East that next Penguin update will be in the “foreseeable” future, adding “I hope” by the end of the year, and it will be the real-time version of the algorithm. Back in July, Gary Illyes told us that Penguin was months away, and we are almost there. Illyes was overly cautious and would not give us a timeline or date, but he did imply it will be happening soo

                                              Google Confirms The Real Time Penguin Algorithm Is Coming Soon
                                            • Fibonacci Algorithm Benchmark

                                              SubjectNode.js is cancer (リンク先は素に削除さている、uu59さんによる和訳記事はこっち) でも言われてた「node.js でフィボナッチは遅い」。 この例はあくまでフィボナッチ関数がどうの、という話をする為ではないし、そもそもRyanが言うように Node.jsはスケーラブルなネットワークプログラムを簡単に書くための手段であって、レイトレーシングや、ウェブブラウザや、動画エンコーディングシステムをNode.jsで作ってはいけない。のであって、Suckな例として出すには藪蛇なものだったのだけれど。 それはそれとして、じゃあ実際フィボナッチ関数の実装アルゴリズムは複数あるけれど、実際どれくらいの差が出るのかベンチマークとってみました。 HowHardware/OSMacBook 2009 (2.26GHz Intel Core 2 Duo) Mac OS X - 1

                                              • 遺伝的アルゴリズム(Genetic Algorithm:GA)の基礎

                                                遺伝的アルゴリズム(Genetic Algorithm:GA)の基礎 花田 良子, 細江 則彰, 梶原 広輝, 吉井 健吾, 吉田 昌太, 千野 晋平, 廣安 知之, 三木 光範 ISDL Report  No. 20050809002 2005年 6月 7日 1  Genetic Algorithm(GA) 1.1  GAの歴史 GAは, 1960年代の終わりから1970年代のはじめに, J.Hollandによって考案されたアルゴリズムで, 自然界の進化のメカニズムを計算機上で模倣した手法である. 応用面での実用的な成果はあるもの, 理論的な研究の発展がそれほど見られなかったため, 比較的最近になるまで世間からはそれほど注目されなかった. しかし1985年に, カーネギー・メロン大学において, 第1回の遺伝的アルゴリズムに関する国際会議が開催されたことが契機となり, 最適化・適応・

                                                • Rabin-Karp string search algorithm - Wikipedia, the free encyclopedia

                                                  This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. Please help to improve this article by introducing more precise citations. (September 2018) (Learn how and when to remove this template message) In computer science, the Rabin–Karp algorithm or Karp–Rabin algorithm is a string-searching algorithm created

                                                  • Is the git binary diff algorithm (delta storage) standardized?

                                                    I think the diff algo used for pack files was linked to one of the delta encoding out there: initially (2005) xdelta, and then libXDiff. But then, as detailed below, it shifted to a custom implementation. Anyway, as mentioned here: Git does deltification only in packfiles. But when you push via SSH git would generate a pack file with commits the other side doesn't have, and those packs are thin pa

                                                      Is the git binary diff algorithm (delta storage) standardized?
                                                    • Exploring the Neural Algorithm of Artistic Style

                                                      We explore the method of style transfer presented in the article "A Neural Algorithm of Artistic Style" by Leon A. Gatys, Alexander S. Ecker and Matthias Bethge (arXiv:1508.06576). We first demonstrate the power of the suggested style space on a few examples. We then vary different hyper-parameters and program properties that were not discussed in the original paper, among which are the recognitio

                                                      • Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithm

                                                        • UAX #9: Unicode Bidirectional Algorithm

                                                          Summary This annex describes specifications for the positioning of characters in text containing characters flowing from right to left, such as Arabic or Hebrew. Status This document has been reviewed by Unicode members and other interested parties, and has been approved for publication by the Unicode Consortium. This is a stable document and may be used as reference material or cited as a normati

                                                          • Tarjan's strongly connected components algorithm - Wikipedia

                                                            Tarjan's strongly connected components algorithm is an algorithm in graph theory for finding the strongly connected components (SCCs) of a directed graph. It runs in linear time, matching the time bound for alternative methods including Kosaraju's algorithm and the path-based strong component algorithm. The algorithm is named for its inventor, Robert Tarjan.[1] The algorithm takes a directed graph

                                                              Tarjan's strongly connected components algorithm - Wikipedia
                                                            • Algorithm Implementation/Strings/Levenshtein distance - Wikibooks, open books for an open world

                                                              The implementations of the Levenshtein algorithm on this page are illustrative only. Applications will, in most cases, use implementations which use heap allocations sparingly, in particular when large lists of words are compared to each other. The following remarks indicate some of the variations on this and related topics: Most implementations use one- or two-dimensional arrays to store the dist

                                                              • GitHub - inconvergent/differential-line: a generative algorithm

                                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                  GitHub - inconvergent/differential-line: a generative algorithm
                                                                • The Eisel-Lemire ParseNumberF64 Algorithm

                                                                  The Eisel-Lemire ParseNumberF64 Algorithm Summary: ParseNumberF64, StringToDouble and similarly named functions take a string like "12.5" (one two dot five) and return a 64-bit double-precision floating point number like 12.5 (twelve point five). Some numbers (like 12.3) aren’t exactly representable as an f64 but ParseNumberF64 still has to return the best approximation. In March 2020, Daniel Lemi

                                                                  • Algorithm::NaiveBayes - Bayesian prediction of categories

                                                                    名称 Algorithm::NaiveBayes - ナイーブベイズアルゴリズム 概要 use Algorithm::NaiveBayes; my $nb = Algorithm::NaiveBayes->new; $nb->add_instance (attributes => {foo => 1, bar => 1, baz => 3}, label => 'sports'); $nb->add_instance (attributes => {foo => 2, blurp => 1}, label => ['sports', 'finance']); # ... いくつかのインスタンスに対して繰り返した後 $nb->train; # 未表示のインスタンスに対する結果を探索 my $result = $nb->predict (attributes => {bar => 3, blu

                                                                    • GitHub - pieroxy/lz-string: LZ-based compression algorithm for JavaScript

                                                                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                        GitHub - pieroxy/lz-string: LZ-based compression algorithm for JavaScript
                                                                      • Amazon.com: Pearls of Functional Algorithm Design: Bird, Richard: Books

                                                                          Amazon.com: Pearls of Functional Algorithm Design: Bird, Richard: Books
                                                                        • Real-coded Genetic Algorithm: JGG + REX

                                                                          連続な多次元変数の最適化:実数値遺伝的アルゴリズム 世代交代モデルJGG + 多親交叉REX 遺伝的アルゴリズム(Genetic Algorithms: GA)は、その枠組みのシンプルさと 特に高次元の多次元変数を持つ最適化問題における探索性能の高さ、 多目的最適化問題への対応など、実問題の要求に答えることができる最適化手法として 広く認知されています。特に連続パラメータをビット列の遺伝子に直さずにそのまま用いる Real-coded GA (RGA) はかなり強力な手法として多くの実問題に用いられています。 本ページでは、実数値GAの一種であるJGG+REXのJavaプログラムを 公開しています。JGG(Just Generation Gap) +REX(Real-Coded Ensemble Crossover) は、東京工業大学教授の小林重信先生がご提案された 世代交代モデルJGGと

                                                                          • AdaRank: A Boosting Algorithm for Information Retrieval

                                                                              AdaRank: A Boosting Algorithm for Information Retrieval
                                                                            • GitHub - leopiney/deep-forest: An on going implementation of the gcForest algorithm

                                                                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                                GitHub - leopiney/deep-forest: An on going implementation of the gcForest algorithm
                                                                              • In Search of an Understandable Consensus Algorithm

                                                                                In Search of an Understandable Consensus Algorithm (Extended Version) Diego Ongaro and John Ousterhout Stanford University Abstract Raft is a consensus algorithm for managing a replicated log. It produces a result equivalent to (multi-)Paxos, and it is as efficient as Paxos, but its structure is different from Paxos; this makes Raft more understandable than Paxos and also provides a better foundat

                                                                                • Ramer–Douglas–Peucker Algorithm

                                                                                  RedisLiveのソースコードを読んでいると、時系列データのプロットに Ramer–Douglas–Peucker アルゴリズムというのが使われていた。 大量のデータがあるとき、それらをすべてつなげて曲線をひくのではなく、うまく間引いて元の曲線に近似させるアルゴリズム。“iterative end-point fit algorithm” や “split-and-merge algorithm” などとも呼ばれる。 Algorithm アルゴリズムそのものは以下のようにものすごくシンプル。 先頭と最後の点をプロット対象にする。 この2点で線をひく。 線から近似精度(ε)以上離れた点を探し、その中で最も遠い点をプロット対象にする。 プロット対象の各点を線でつなげる。 再帰的に ステップ3とステップ4を繰り返す。 この流れをまとめると下図のようになる。(wikipedia より) Smoo

                                                                                    Ramer–Douglas–Peucker Algorithm