-
Implement a new agent using the TD($\lambda$)-algorithm, inspired by Tesauro's solution for backgammon, TD-gammon.
This extends existing player classes, but is different in several key aspects.
…
-
Using expression trees instead of simple lambda's in `Arg.Is` is less than ideal. For example, `Arg.Is(x => x?.Length == 0)` is not allowed because expression trees cannot contain null propagating ope…
-
Hey! I thought of another feature of .Net AutoFixture that I'm really missing...
I don't know if it would be possible to use something similar .with() feature, without the lambdas (or maybe with them…
-
```idris
module Lambda
import public Data.Fin
%access export
||| The base cases of Term used to end the recursion.
public export
data BaseTerm : Type -> (ctxt : Nat) -> Type where
|||…
-
I have followed the tutorial to have the code below. I confused about the result from the code. The loss is decreasing. However, the val_loss is increasing from the beginning. The val_metrics is also …
-
data Nat = Z | S Nat
data SingNat n where
SingZ :: SingNat 'Z
SingS :: SingNat n -> SingNat ('S n)
MissingCase :: SingNat 'Z
listSingNatZs :: [Si…
-
```res
type t0 = {x?: int}
let a = None
let fa = v =>
switch v {
| Some(v) => {x: v}
| None => {x: ?a}
}
Js.log(fa(a)) // {}
let b = None
let fb = v =>
switch v {
| Some(…
-
just using this issue to keep track of my dumb ideas
- imperative implementation in the lambda calculus
- latex macro
- import python's @lru_cache decorator to implement caching for you
- scrape…
-
Another radical idea.
Define a Quote class that represents a quoted expression. It gets passed the string representation of the expression and a lambda that evaluates it in the original context (th…
-
### Product
Actyx
### When
Querying with AQL
### I want to
use map/reduce/filter-like capabilities with bound variables
### So that
I can form efficient query which would normally…