タグ

2008年2月14日のブックマーク (3件)

  • JavaScript でカリー化、再び: Days on the Moon

    以前、「JavaScript で引数束縛」において関数のカリー化を試みました。しかし、そこでカリー化された関数は、そのままでは一度しか部分適用ができず、また、最初の関数呼び出しは必ず部分適用として扱われていました。 function mean3(a, b, c) { return (a + b + c) / 3; } // 「JavaScript で引数束縛」における curry 関数。 var curriedMean3 = curry(mean3); curriedMean3(1)(2, 3); // => 2 curriedMean3(1)(2)(3); // => TypeError: curriedMean3(1)(2) is not a function // そのままでは部分適用を 2 回以上行えない。 // curry(curriedMean3(1))(2)(3) なら大丈夫

  • jQuery API Update: offline and anywhere

    I've been beavering away at the API behind the scenes for a little while, and if you follow me on Twitter you've probably already seen the API browser has already been upgraded. The key change I've made is to de-couple the API search engine from the front end. What this has resulted in, is a fairly simple API to create any number of bespoke front ends to the jQuery API browser. READER DISCOUNTSave

    frsh_mt
    frsh_mt 2008/02/14
    アルファベット別、分かりやすい
  • 協調フィルタリング

    協調フィルタリング 渡辺 崇文, 廣安 知之, 三木 光範 ISDL Report  No. 20071019004 2007年 9月 19日 Abstract レコメンデーションサービスのための手法として,協調フィルタリングがある.協調フィルタリングは,ユーザの嗜好情報を元に各ユーザ間の類似度を計算し,その類似度に基づいてユーザの嗜好を推測するシステムである.協調フィルタリングは,Amazonのお勧め機能に採用されていることで有名である. 報告では,協調フィルタリングについて,その背景や関連概念,応用されているサービス等について調査を行った. 1  はじめに レコメンデーションサービスを提供する際に使用される手法として,協調フィルタリングがある.協調フィルタリングは,ユーザの嗜好情報を元に各ユーザ間の類似度を計算し,その類似度に基づいてユーザの嗜好を推測するシステムである. 報告