Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

remla25-team21/lib-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lib-ml

A machine learning library for REMLA project that provides text preprocessing functionality for sentiment analysis.

Installation

pip install git+https://github.com/remla25-team21/[email protected]

Check the latest release version here, and replace X.Y.Z with the latest version.

Usage

from libml.preprocessing import preprocess_train, preprocess_inference

# For training
X_train, X_test, y_train, y_test = preprocess_train(
    dataset_filepath="data.tsv", 
    test_size=0.2,
    random_state=0
)

# For inference
processed_data = preprocess_inference("data.tsv", "c1_BoW_Sentiment_Model.pkl")

Development

This project uses modern Python packaging with pyproject.toml. To set up for development:

# Clone the repository
git clone https://github.com/remla25-team21/lib-ml.git

# Change to the project directory
cd lib-ml

# Install in development mode with dev dependencies
pip install -e ".[dev]"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages