xbe.at

Topics / Miscellany

DataFrames and pandas

22 notes.

  1. Adam Optimizer Combining Momentum and Adaptive Rates7 min

    Adam (Adaptive Moment Estimation) optimizer combines the benefits of momentum-based and adaptive learning rate methods, specifically integrating RMSprop and...

  2. Adam Optimizer Exponentially Weighted Gradients and Squared Gradients11 min

    Adam (Adaptive Moment Estimation) optimizer combines the advantages of two other optimization algorithms: RMSprop and momentum, maintaining exponentially...

  3. Algorithms for Non-Linear Problems9 min

    Linear regression is the most basic and commonly used algorithm that tends to underfit when dealing with non-linear problems. It assumes a linear...

  4. Bidirectional RNNs Dual-Directional Sequence Processing14 min

    Bidirectional Recurrent Neural Networks (Bi-RNNs) are a powerful variant of traditional RNNs that process sequences in both forward and backward directions....

  5. Boost DataFrame Filtering Speed with isin()7 min

    Pandas DataFrame filtering operations utilize boolean indexing under the hood, where each condition creates a boolean mask. Understanding the internal...

  6. Cheat Sheet for Solving Any ML Problem8 min

    Machine learning classification involves predicting discrete class labels or categories from input features. The process requires labeled training data and...

  7. Custom Exception Handling for ML Pipelines14 min

    Exception handling in machine learning requires specialized error types to handle data processing, model training, and inference failures. Creating a custom...

  8. Detecting and Mitigating Model Drift9 min

    Model drift is a crucial concept in machine learning, referring to the degradation of a model's performance over time. This occurs when the statistical...

  9. Discriminative vs. Generative Models A Primer15 min

    Discriminative models directly learn the mapping between input features and output labels by modeling conditional probability P(Y|X). They focus on decision...

  10. Efficient Fine-Tuning with LoRA9 min

    Low-Rank Adaptation (LoRA) is a technique for fine-tuning large language models more efficiently. It allows for task-specific adaptations without modifying...

  11. Efficient Fine-Tuning with Quantized Low-Rank Adaptation11 min

    QLoRA (Quantized Low-Rank Adaptation) is an innovative strategy for fine-tuning large language models while significantly reducing memory usage. It combines...

  12. Enhancing Function Flexibility with kwargs12 min

    The \\kwargs syntax allows functions to accept arbitrary keyword arguments as a dictionary, providing flexibility in handling varying numbers of parameters....

  13. Enhancing Regression Models with Quantile Analysis7 min

    Quantile regression extends beyond traditional mean-based regression by modeling the relationship between predictors and different quantiles of the response...

  14. Filling Blank Values in a DataFrame5 min

    To fill all blank (NaN) values in a DataFrame with zero using Python, we can use the fillna() method. This method is part of the pandas library, which...

  15. Fundamentals of Binary Classification9 min

    Binary classification forms the foundation of many machine learning applications, where the goal is to categorize input data into one of two classes. This...

  16. Implementing Multiple Regression from Scratch10 min

    This presentation explores the implementation of Multiple Regression without using Sklearn. We'll dive into the mathematics behind the Ordinary Least Squares...

  17. Mastering DataFrames with .describe()6 min

    The describe() method provides a comprehensive statistical summary of numerical columns in a DataFrame, including count, mean, standard deviation, minimum...

  18. Mastering NER for Documents with Multiple Entities3 min

    Natural Entity Recognition (NER) becomes more reliable when combined with data enrichment techniques. This approach helps overcome common challenges in...

  19. Mastering QLoRA9 min

    QLoRA (Quantized Low-Rank Adaptation) is an efficient fine-tuning technique for large language models. It combines quantization and low-rank adaptation to...

  20. Scaling Inference Compute with Large Language Monkeys12 min

    Large Language Monkeys (LLM) is a novel approach to natural language processing that combines the power of large language models with repeated sampling...

  21. Skimpy Comprehensive Data Summarization Tool6 min

    Skimpy revolutionizes data analysis by offering comprehensive statistical summaries and visualizations. It extends beyond basic descriptive statistics to...

  22. Vertical DataFrame Concatenation with pd.concat()6 min

    The pandas concat() function is the primary tool for vertically combining DataFrames, allowing row-wise concatenation using axis=0. This operation is...