<commit_before>## Installation Guide

------

For now, the xLearn can support Linux and Mac osx. This page gives instructions on how to build and install the xLearn package from source code. It consists of two steps:

 1. First build the executable file (***xlearn_train*** and ***xlearn_predict***) and shared library (libxlearn.so for Linux and libxlearn.dylib for Mac osx) from the C++ codes.
 2. Then install the python package.

### Build executable file and shared libaray

### Build python package<commit_msg>update install.md<commit_after>## Installation Guide

------

For now, the xLearn can support Linux and Mac osx. This page gives instructions on how to build and install the xLearn package from source code. It consists of two steps:

 1. First build the executable files (***xlearn_train*** and ***xlearn_predict***) and shared library (***libxlearn.so*** for Linux and ***libxlearn.dylib*** for Mac osx) from the C++ codes.
 2. Then install the python package.

### Build executable file and shared libaray

Our goal is to build the shared libary:

 - On Linux the target library is ***libxlearn.so***
 - On Mac osx the target library is ***libxlearn.dylib***

Also, we will build the executable files, which can be used in commad line. The executable files include:

 - ***xlearn_train*** is for training task
 - ***xlearn_predict*** is for prediction task

 
### Build python package

{'fraction_non_alphanumeric': 0.09836065573770492, 'fraction_numerical': 0.002851033499643621, 'mean_word_length': 4.2388059701492535, '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': '453327', 'n_tokens_mistral': 397, 'n_tokens_neox': 371, 'n_words': 197}