Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
i pass this kata but still dont understand how. i got an error in JupyterLite
try to add .reshape(-1, 1) to X_train and got waring and the output:
i dont understand why it happend because clf.fit(X, y) -> X
{array-like, sparse matrix} of shape (n_samples, n_features); y
array-like of shape (n_samples,) my X, y: X -> 1d array and y -> is 1d array
python new test frameworks
what about this ?
Good one!
Eh, realistically it'd be the same generator with one less parameter anyway.
Next time I would prefer that instead of relying on implementation details such as ordered dicts/Maps you simply provide an array of tuplies (i.e. the result of
functions.entries()
in JS). the V8 engine happens to also have ordered Maps and Sets, but that is not guranteed to happen in other JS engines.Some. :] I checked diffs, glanced at the example solution and example tests, looked at the random tests and decided not to look too hard ( you obviously worked from the Python tests. I simplified quite a bit for Haskell and JS, because I don't think highly biased tests add much value ), and approved.
That might be a new record lmao.
How much of it did you sanity check?
Approved
Scala translation
Fixed
Fixed
Fixed
technically, all the keys are positive, afaik (...or 0, yeah). But that's a pointless requirement, yes.
No, it is to group the numbers. Sorting in place is something entirely different.
Loading more items...