<commit_before>package liblinear;

import java.util.Arrays;


/**
 * use {@link Linear#loadModel(String)} and {@link Linear#saveModel(String, Model)} to load/save it
 */
public final class Model {

   double     bias;

   /** label of each class (label[n]) */
   int[]      label;

   /** number of classes */
   int        nr_class;

   int        nr_feature;

   SolverType solverType;

   double[]   w;

   public int getNrClass() {
      return nr_class;
   }

   public int getNrFeature() {
      return nr_feature;
   }
<commit_msg>made Model Serializable<commit_after>package liblinear;

import java.io.Serializable;
import java.util.Arrays;


/**
 * use {@link Linear#loadModel(String)} and {@link Linear#saveModel(String, Model)} to load/save it
 */
public final class Model implements Serializable {

   private static final long serialVersionUID = -6456047576741854834L;

   double                    bias;

   /** label of each class (label[n]) */
   int[]                     label;

   /** number of classes */
   int                       nr_class;

   int                       nr_feature;

   SolverType                solverType;

   double[]                  w;

   public int getNrClass() {
      return nr_class;
   }

   public int getNrFeature() {
      return nr_feature;
   }

{'fraction_non_alphanumeric': 0.09992313604919292, 'fraction_numerical': 0.014604150653343582, 'mean_word_length': 2.0926365795724466, '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': '6486159', 'n_tokens_mistral': 412, 'n_tokens_neox': 371, 'n_words': 108}