Code Monkey home page Code Monkey logo

vns's Introduction

Variable Neighborhood Search Approach for Cell Clustering

The Variable Neighborhood Search (VNS) method is well known metaheuristic method, which starts from one point from the search space, explores its neighborhoods and repeats the whole process until better solution is found or some stopping criteria is reached. Leveraging the well-established foundation of VNS, first we present a comprehensive solution for the cell clustering problem in the form of the Integer Linear Programming (ILP) minimization problem, which is based on the p-median classification. The proposed algorithm exhibits the ability to organize cells into clusters, utilizing information from both gene expression matrices and spatial coordinates.

Parameters

Name Type Definition Default
adata_path str Path to adata file data.h5ad
emb str Choose embeddings ('CCST', 'GraphST', 'STAGATE', 'X_pca', 'STAligner') X_pca
k int Number of clusters 20
max_iter int Maximal number of iterations 20
p int LocalSearch parameter 12
m int LocalSearch parameter 15
alpha int Precentage of the influence of the embedding values 1
s int Maximal number of neighborhoods that should be searched 10
seed int Seed value 1234

To run the code, you can use the following example command:

python vns.py --adata_path '/goofys/BCO/Benchmark/SS200000128TR_E2_benchmark.h5ad' --ground_truth 'celltype_pred' --emb 'GraphST' --k 33 --max_iter 10 --param 12 --m 15 --alpha 1 --s 20 --seed 4639

vns's People

Contributors

aleksandradjordjevic1509 avatar

Stargazers

 avatar

Watchers

Yong Zhang avatar Vincent Li avatar

vns's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.