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.
Look in the problem description below 'The "train_ada_boost" function accepts the following arguments:'. That should give you a hint
the order of the solution does not change the factors. Great.
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?
python new test framework is required. updated in this fork
Have a chance to use the train_test_split and fit methods, Nice Kata
Typos in description:
How can you sort them in place if you need to create new lists?
Nice, but parenthesses are unneccesary here :>
Refer to extra note section in description
exactly what i did
Personally, I believe that the .union(arr2) is incredibly useful here. Wish you nothing but the best. hugs and kisses xox
Please use apoiler flag.
This comment is hidden because it contains spoiler information about the solution
Was searching for platform to train ML commands, and model fitting. Then realized Codewars must already have some form of Kata. This kata is exactly I had in mind. The level of detailed testing, with respect to each parameter, and the model output is splendid.
Loading more items...