Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gladex/Kalstra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

9 Commits

Repository files navigation

README

This README documents the necessary steps to set up the running environment for Kalstra.

Kalstra

A Novel Hybrid Architecture Integrating KAN and Sequential-Transformer for Robust Cell Type Annotation in Cross-Species Transcriptomics

Environment Configuration

The code runs under Python 3.9.19 and Tensorflow 2.15.0. Create a Tensorflow environment and install required packages, such as "numpy", "pandas", "keras" and "scanpy" . Please refer to requirements.txt for more details.

Installation:

pip install -r requirements.txt

Model Training and Testing

  • After setting up the above files, execute Python files sequentially in the folder KALSTRA.

Output Files

  • Training results are saved into modelsave/epoch200.txt

Code Structure

LSKAN.py: ATLSTM layer and CFKAN model
GMHA.py: Attention layer and BAFFN layer
model.py: Integrate LSKAN and GMHA into KALSTRA
training.py: Model training
testing.py: Prediction results of dataset

Contact Information

Have any questions or issues related to the repository, please contact Dr. Binhua Tang (bh.tang@hhu.edu.cn).

About

A Novel Hybrid Architecture Integrating KAN and Sequential-Transformer for Robust Cell Type Annotation in Cross-Species Transcriptomics

Resources

License

Stars

Watchers

Forks

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /