<commit_before>#include "classifier.h"
#include <iostream>
#include <fstream>
#include <string>

Data::Data(const char *data_file)
{
	feat_cnt = 0;
	row_cnt = 0;
	std::string cur_line;
	std::ifstream in_file;
	in_file.open(data_file, std::ifstream::in);
	while(in_file.good())
	{
		std::getline(in_file, cur_line);
		std::cout << "Line " << row_cnt << ": " << cur_line << "\n";
		row_cnt++;
	}
	in_file.close();
}

double Data::My_atof(char *ascii_str)
{
	return 0.0;
}

void Data::Norm()
{
}<commit_msg>Updated classifier to match the new prompt<commit_after>#include "classifier.h"
#include <iostream>
#include <fstream>
#include <string>

Data::Data(const char *data_file)
{
	feat_cnt = 0;
	row_cnt = 0;
	std::string cur_line;
	std::ifstream in_file;
	in_file.open(data_file, std::ifstream::in);
	while(in_file.good())
	{
		std::getline(in_file, cur_line);
		if(cur_line != "")
		{
			std::cout << "Line " << row_cnt << ": " << cur_line << "\n";
			row_cnt++;
		}
	}
	in_file.close();
}

double Data::My_atof(char *ascii_str)
{
	return 0.0;
}

void Data::Norm()
{
}
{'fraction_non_alphanumeric': 0.19101123595505617, 'fraction_numerical': 0.00749063670411985, 'mean_word_length': 4.938888888888889, 'pattern_counts': {'":': 2, '<': 29, '<?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': '5124186', 'n_tokens_mistral': 470, 'n_tokens_neox': 448, 'n_words': 83}