<commit_before>#! /usr/bin/env python3
""" A La Carte GP Application to SARCOS dataset. """

import logging
import numpy as np
import revrand.legacygp as gp
import revrand.legacygp.kernels as kern

from revrand import regression, glm, basis_functions, likelihoods
from revrand.validation import smse, msll
from revrand.utils.datasets import fetch_gpml_sarcos_data

#
# Settings
#

log = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO)

lenscale = 10
sigma = 100
noise = 1
regulariser = 1
nbases = 300
gp_Ntrain = 1024
passes = 10
rate = 0.9
eta = 1e-6
batchsize = 100
rank = 0

useSGD = True
diagcov = True


#
# Load data
#
<commit_msg>gave the sarcos dataset a sensible number of iterations<commit_after>#! /usr/bin/env python3
""" A La Carte GP Application to SARCOS dataset. """

import logging
import numpy as np
import revrand.legacygp as gp
import revrand.legacygp.kernels as kern

from revrand import regression, glm, basis_functions, likelihoods
from revrand.validation import smse, msll
from revrand.utils.datasets import fetch_gpml_sarcos_data

#
# Settings
#

log = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO)

lenscale = 10
sigma = 100
noise = 1
regulariser = 1
nbases = 300
gp_Ntrain = 1024
passes = 100
rate = 0.9
eta = 1e-6
batchsize = 100
rank = 0

useSGD = True
diagcov = True


#
# Load data
#

{'fraction_non_alphanumeric': 0.08106116433308769, 'fraction_numerical': 0.03758290346352248, 'mean_word_length': 4.542857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7420098', 'n_tokens_mistral': 523, 'n_tokens_neox': 460, 'n_words': 154}