The AI Domestic Violence Support System utilizes advanced NLP and machine learning models to identify various types of domestic abuse from user inputs. Designed with privacy and user-friendliness at its core, our system provides personalized insights and resources to help users understand their situations better.
- About the Project
- Social Impact
- Tech stack
- Use of oneAPI in our project
- Working
- References for Datasets
Our project is designed to listen and understand, taking user inputs in the form of text descriptions about their feelings and the situations they're experiencing. At its core, it harnesses powerful NLP techniques to process these inputs, identifying the type of abuse and the context of the user's situation. By analyzing the nuances of the language and the details shared, our system can discern the specific nature of the abuse. This sophisticated understanding allows it to provide targeted knowledge and resources that are tailored to the user's individual circumstances.
Our project helps people who have faced harm at home by giving them information to understand and heal. When someone tells the system about their tough situations, it uses special computer techniques to figure out the kind of harm they're facing. Then, it gives them advice and help that fits their situation. Our project makes a big positive change. It helps people feel less alone and more supported. It shows them that there are ways to get better and that people care about helping them. This can change their lives in a good way, by making them feel safer and more hopeful.
- Intel® OneAPI
- NLP
- Catboost classifier
- Flask
- HTML,Bootstrap
!pip install scikit-learn-intelex
Activate the extension to accelerate Scikit-learn algorithms:
from sklearnex import patch_sklearn
patch_sklearn()
With the environment set up and the Intel® extension activated, proceeding to run the PCA and Logistic Regression models which are accelerated for improved performance.
PCA:
from sklearnex.decomposition import PCA
pca = PCA(n_components=30)
train_pca = pca.fit_transform(train_embeddings)
test_pca = pca.transform(test_embeddings)
Logistic Regression:
from sklearnex.linear_model import LogisticRegression
log_reg_sklearnex = make_pipeline(TfidfVectorizer(), LogisticRegression(C=2.0, max_iter=500))
Performance comparision for LOGISTIC REGRESSION with and without oneDAl
Performance comparision with PCA and without oneDAl