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.
python new test frameworks
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.Traceback (most recent call last):
File "/workspace/default/.venv/lib/python3.11/site-packages/codewars_test/test_framework.py", line 112, in wrapper
func()
File "/workspace/default/tests.py", line 132, in _
test_ada_boost(f2_is_prime, 300, n_est = 10, seed=256)
File "/workspace/default/tests.py", line 74, in test_ada_boost
u, u_test_set, u_test_target = train_ada_boost(X.reshape(-1, 1), target, estimators = n_est, random_seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: train_ada_boost() got an unexpected keyword argument 'estimators'
I just get that error but I did everything to fix that but I couldn't. How should I do?
This comment is hidden because it contains spoiler information about the solution