What do you want to save?
Add Code snippet
New code examples
-
Python 2021-08-27 16:13:01
neural network hyperparameter tuning
# random search cross validation in neural network model from keras.models import Sequential from keras.layers import Dense, Dropout from keras.wrappers.scikit_learn import KerasClassifier def report(results, n_top=3): for i in range(1, n_top + 1): ... Add solution -
Python 2021-08-27 14:32:03
how to scroll by in selenium python
for i in range(20): # adjust integer value for need # you can change right side number for scroll convenience or destination driver.execute_script("window.scrollBy(0, 250)") # you can change time integer to float or remo... Add solution -
Java 2021-08-27 13:45:01
Mergesort parallelization using Spark
import random import time from pyspark import SparkContext def execute_merge_sort(generated_list): start_time = time.time() sorted_list = merge_sort(generated_list) elapsed = time.time() - start_time print('Simple merge sort: %f sec' % el... Add solution -
Python 2021-08-27 10:03:02
repeat a condition n times one by one python
for i in range(n): do_sth() Add solution
Best helpers
Ranking is empty