Latest
Python Data Science Stack
Python Data Science This document provides comprehensive guidelines for python data science development and best practices. Pandas Data Manipulation DataFrame DataFrame and Series operations Implement proper dataframe and series operations Follow best practices for optimal results Data Data loading from various sources (CSV, JSON, SQL) Implement proper data loading from various sources (csv, json, sql) Follow best practices for optimal results Data Data cleaning and preprocessing Implement proper data cleaning and preprocessing Follow best practices for optimal results Missing Missing data handling strategies Implement proper missing data handling strategies Follow best practices for optimal results Data Data type optimization Implement proper data type optimization Follow best practices for optimal results Data Transformation Filtering Filtering and querying data Implement proper filtering and querying data Follow best practices for optimal results Groupby Groupby operations and aggregations Implement proper groupby operations and aggregations Follow best practices for optimal results Pivot Pivot tables and crosstabs Implement proper pivot tables and crosstabs Follow best practices for optimal results Merging Merging and joining datasets Implement proper merging and joining datasets Follow best practices for optimal results Reshaping Reshaping data (melt, stack, unstack) Implement proper reshaping data (melt, stack, unstack) Follow best practices for optimal results Data Visualization Matplotlib Matplotlib for basic plotting Implement proper matplotlib for basic plotting Follow best practices for optimal results Seaborn Seaborn for statistical visualizations Implement proper seaborn for statistical visualizations Follow best practices for optimal results Plotly Plotly for interactive charts Implement proper plotly for interactive charts Follow best practices for optimal results Best Best practices for effective visualization Implement proper best practices for effective visualization Follow best practices for optimal results Dashboard Dashboard creation with Streamlit Implement proper dashboard creation with streamlit Follow best practices for optimal results Machine Learning Integration Scikit-learn Scikit-learn for traditional ML Implement proper scikit-learn for traditional ml Follow best practices for optimal results Feature Feature engineering and selection Implement proper feature engineering and selection Follow best practices for optimal results Model Model evaluation and cross-validation Implement proper model evaluation and cross-validation Follow best practices for optimal results Pipeline Pipeline creation for reproducibility Implement proper pipeline creation for reproducibility Follow best practices for optimal results Hyperparameter Hyperparameter tuning Implement proper hyperparameter tuning Follow best practices for optimal results Jupyter Notebook Best Practices Notebook Notebook organization and structure Implement proper notebook organization and structure Follow best practices for optimal results Code Code cell optimization Implement proper code cell optimization Follow best practices for optimal results Markdown Markdown documentation Implement proper markdown documentation Follow best practices for optimal results Version Version control for notebooks Implement proper version control for notebooks Follow best practices for optimal results Reproducible Reproducible research practices Implement proper reproducible research practices Follow best practices for optimal results Performance Optimization Vectorization Vectorization over loops Implement proper vectorization over loops Follow best practices for optimal results Memory Memory usage optimization Implement proper memory usage optimization Follow best practices for optimal results Parallel Parallel processing with multiprocessing Implement proper parallel processing with multiprocessing Follow best practices for optimal results Cython Cython for performance-critical code Implement proper cython for performance-critical code Follow best practices for optimal results Profiling Profiling and bottleneck identification Implement proper profiling and bottleneck identification Follow best practices for optimal results Deployment & Production API API development with FastAPI Implement proper api development with fastapi Follow best practices for optimal results Containerization Containerization for reproducibility Implement proper containerization for reproducibility Follow best practices for optimal results Cloud Cloud deployment strategies Implement proper cloud deployment strategies Follow best practices for optimal results Monitoring Monitoring data pipelines Implement proper monitoring data pipelines Follow best practices for optimal results A/B A/B testing frameworks Implement proper a/b testing frameworks Follow best practices for optimal results Follow these comprehensive guidelines for successful python data science implementation.
Machine Learning with TensorFlow
Python Ml Tensorflow This document provides comprehensive guidelines for python ml tensorflow development and best practices. Keras API Sequential Sequential and Functional API models Implement proper sequential and functional api models Follow best practices for optimal results Model Model subclassing for custom architectures Implement proper model subclassing for custom architectures Follow best practices for optimal results Layer Layer creation and customization Implement proper layer creation and customization Follow best practices for optimal results Activation Activation functions and optimizers Implement proper activation functions and optimizers Follow best practices for optimal results Loss Loss functions and metrics Implement proper loss functions and metrics Follow best practices for optimal results Neural Network Architectures Dense Dense (fully connected) networks Implement proper dense (fully connected) networks Follow best practices for optimal results Convolutional Convolutional Neural Networks (CNNs) Implement proper convolutional neural networks (cnns) Follow best practices for optimal results Recurrent Recurrent Neural Networks (RNNs/LSTMs) Implement proper recurrent neural networks (rnns/lstms) Follow best practices for optimal results Transformer Transformer architectures Implement proper transformer architectures Follow best practices for optimal results Transfer Transfer learning with pre-trained models Implement proper transfer learning with pre-trained models Follow best practices for optimal results Model Evaluation Train/validation/test Train/validation/test splits Implement proper train/validation/test splits Follow best practices for optimal results Cross-validation Cross-validation strategies Implement proper cross-validation strategies Follow best practices for optimal results Performance Performance metrics (accuracy, precision, recall) Implement proper performance metrics (accuracy, precision, recall) Follow best practices for optimal results Confusion Confusion matrices and classification reports Implement proper confusion matrices and classification reports Follow best practices for optimal results Model Model interpretability techniques Implement proper model interpretability techniques Follow best practices for optimal results Model Optimization Hyperparameter Hyperparameter tuning with Keras Tuner Implement proper hyperparameter tuning with keras tuner Follow best practices for optimal results Model Model pruning and quantization Implement proper model pruning and quantization Follow best practices for optimal results TensorFlow TensorFlow Lite for mobile deployment Implement proper tensorflow lite for mobile deployment Follow best practices for optimal results TensorFlow.js TensorFlow.js for web deployment Implement proper tensorflow.js for web deployment Follow best practices for optimal results TensorFlow TensorFlow Serving for production Implement proper tensorflow serving for production Follow best practices for optimal results Advanced Features Custom Custom training loops Implement proper custom training loops Follow best practices for optimal results Mixed Mixed precision training Implement proper mixed precision training Follow best practices for optimal results Distributed Distributed training strategies Implement proper distributed training strategies Follow best practices for optimal results TensorBoard TensorBoard for visualization Implement proper tensorboard for visualization Follow best practices for optimal results Profiling Profiling and performance optimization Implement proper profiling and performance optimization Follow best practices for optimal results Integration & Deployment REST REST API deployment with Flask/FastAPI Implement proper rest api deployment with flask/fastapi Follow best practices for optimal results Containerization Containerization with Docker Implement proper containerization with docker Follow best practices for optimal results Cloud Cloud deployment (AWS, GCP, Azure) Implement proper cloud deployment (aws, gcp, azure) Follow best practices for optimal results Edge Edge deployment considerations Implement proper edge deployment considerations Follow best practices for optimal results Real-time Real-time inference optimization Implement proper real-time inference optimization Follow best practices for optimal results Follow these comprehensive guidelines for successful python ml tensorflow implementation.
Browse Cursor Rules - Cursor IDE Community Prompts & Configurations