<commit_before>#include "regression/svr/MKLRegression.h"
#include "regression/svr/LibSVR.h"
#include "regression/svr/SVR_light.h"

CMKLRegression::CMKLRegression(CSVM* s) : CMKL(s)
{
	if (!s)
	{
#ifdef USE_SVMLIGHT
		s=new CSVRLight();
#endif //USE_SVMLIGHT
		if (!s)
			s=new CLibSVR();
		set_svm(s);
	}
}

CMKLRegression::~CMKLRegression()
{
}

float64_t CMKLRegression::compute_sum_alpha()
{
	SG_NOTIMPLEMENTED;
	return 0;

	// not correct needs explicit access to alpha and alpha* 
	//float64_t suma=0;
	//int32_t nsv=svm->get_num_support_vectors();
	//for (int32_t i=0; i<nsv; i++)
	//	suma+=CMath::abs(svm->get_alpha(i))*tube_epsilon-svm->get_alpha(i);
	//return suma;
}<commit_msg>another compile fix<commit_after>#include "regression/svr/MKLRegression.h"
#include "regression/svr/LibSVR.h"
#ifdef USE_SVMLIGHT
#include "regression/svr/SVR_light.h"
#endif //USE_SVMLIGHT

CMKLRegression::CMKLRegression(CSVM* s) : CMKL(s)
{
	if (!s)
	{
#ifdef USE_SVMLIGHT
		s=new CSVRLight();
#endif //USE_SVMLIGHT
		if (!s)
			s=new CLibSVR();
		set_svm(s);
	}
}

CMKLRegression::~CMKLRegression()
{
}

float64_t CMKLRegression::compute_sum_alpha()
{
	SG_NOTIMPLEMENTED;
	return 0;

	// not correct needs explicit access to alpha and alpha* 
	//float64_t suma=0;
	//int32_t nsv=svm->get_num_support_vectors();
	//for (int32_t i=0; i<nsv; i++)
	//	suma+=CMath::abs(svm->get_alpha(i))*tube_epsilon-svm->get_alpha(i);
	//return suma;
}
{'fraction_non_alphanumeric': 0.16573033707865167, 'fraction_numerical': 0.01544943820224719, 'mean_word_length': 5.1688311688311686, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1207525', 'n_tokens_mistral': 677, 'n_tokens_neox': 632, 'n_words': 104}