rename folder

This commit is contained in:
sanjeed5
2025-02-27 00:04:07 +05:30
parent 519c3fa882
commit f7fa52c998
879 changed files with 0 additions and 0 deletions
@@ -0,0 +1,10 @@
---
description: Rules for data handling and preprocessing scripts in chemistry ML projects, emphasizing robust pipelines and appropriate techniques for chemical data.
globs: data_processing/**/*.py
---
- Implement robust data loading and preprocessing pipelines.
- Use appropriate techniques for handling chemical data (e.g., molecular fingerprints, SMILES strings).
- Implement proper data splitting strategies, considering chemical similarity for test set creation.
- Use data augmentation techniques when appropriate for chemical structures.
- Utilize efficient data structures for chemical representations.
- Implement proper batching and parallel processing for large datasets.
@@ -0,0 +1,9 @@
---
description: General Python guidelines for chemistry machine learning projects, including code style, naming conventions, and documentation.
globs: **/*.py
---
- Follow PEP 8 style guide for Python code.
- Use meaningful and descriptive names for variables, functions, and classes.
- Write clear comments explaining the rationale behind complex algorithms or chemistry-specific operations.
- Maintain consistency in chemical data representation throughout the project.
- Use type hints to improve code readability and catch potential errors.
@@ -0,0 +1,8 @@
---
description: Rules for model evaluation and interpretation scripts in chemistry ML projects, emphasizing appropriate metrics, error analysis, and visualization techniques.
globs: evaluation/**/*.py
---
- Use appropriate metrics for chemistry tasks (e.g., RMSE, R², ROC AUC, enrichment factor).
- Implement techniques for model interpretability (e.g., SHAP values, integrated gradients).
- Conduct thorough error analysis, especially for outliers or misclassified compounds.
- Visualize results using chemistry-specific plotting libraries (e.g., RDKit's drawing utilities).
@@ -0,0 +1,10 @@
---
description: Guidelines for deep learning model development with PyTorch in chemistry applications, including network architecture, batch processing, and optimization techniques.
globs: models/pytorch/**/*.py
---
- Leverage PyTorch for deep learning models and when GPU acceleration is needed.
- Design neural network architectures suitable for chemical data (e.g., graph neural networks for molecular property prediction).
- Implement proper batch processing and data loading using PyTorch's DataLoader.
- Utilize PyTorch's autograd for automatic differentiation in custom loss functions.
- Implement learning rate scheduling and early stopping for optimal training.
- Use GPU acceleration when available, especially for PyTorch models.
@@ -0,0 +1,7 @@
---
description: Specific guidance regarding the usage of RDKit and related cheminformatics libraries
globs: **/*rdkit*.py
---
- Utilize appropriate libraries for chemical data handling (e.g., RDKit, OpenBabel).
- Visualize results using chemistry-specific plotting libraries (e.g., RDKit's drawing utilities).
- Refer to official documentation for chemistry-related libraries for best practices and up-to-date APIs.
@@ -0,0 +1,8 @@
---
description: Guidelines for ensuring reproducibility and proper version control in chemistry machine learning projects.
globs: .git/**/*
---
- Use version control (Git) for both code and datasets.
- Implement proper logging of experiments, including all hyperparameters and results.
- Use tools like MLflow or Weights & Biases for experiment tracking.
- Ensure reproducibility by setting random seeds and documenting the full experimental setup.
@@ -0,0 +1,9 @@
---
description: Guidelines for developing machine learning models using scikit-learn in chemistry applications, focusing on algorithm selection, hyperparameter tuning, and cross-validation.
globs: models/sklearn/**/*.py
---
- Use scikit-learn for traditional machine learning algorithms and preprocessing.
- Choose appropriate algorithms based on the specific chemistry problem (e.g., regression, classification, clustering).
- Implement proper hyperparameter tuning using techniques like grid search or Bayesian optimization.
- Use cross-validation techniques suitable for chemical data (e.g., scaffold split for drug discovery tasks).
- Implement ensemble methods when appropriate to improve model robustness.
@@ -0,0 +1,7 @@
---
description: Guidelines for integrating machine learning models with a Tauri frontend via a backend like Flask
globs: frontend/**/*.rs
---
- Implement a clean API for the ML models to be consumed by the Flask backend.
- Ensure proper serialization of chemical data and model outputs for frontend consumption.
- Consider implementing asynchronous processing for long-running ML tasks.
@@ -0,0 +1,7 @@
---
description: Rules for implementing testing and validation procedures specific to chemistry applications.
globs: tests/**/*.py
---
- Implement unit tests for data processing functions and custom model components.
- Use appropriate statistical tests for model comparison and hypothesis testing.
- Implement validation protocols specific to chemistry (e.g., time-split validation for QSAR models).