Slide Title 1

Aenean quis facilisis massa. Cras justo odio, scelerisque nec dignissim quis, cursus a odio. Duis ut dui vel purus aliquet tristique.

Slide Title 2

Morbi quis tellus eu turpis lacinia pharetra non eget lectus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec.

Slide Title 3

In ornare lacus sit amet est aliquet ac tincidunt tellus semper. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

Tuesday, December 17, 2024

residuals

 Yes, residuals are used in various contexts in statistics and data science beyond scatter plots. Residuals refer to the differences between observed and predicted values, and they play a critical role in model evaluation and diagnostics. Here are some examples of where residuals appear:


1. Linear and Non-Linear Regression Models

  • Residuals measure the error between the observed data and the values predicted by the regression model: Residual=yobservedypredicted\text{Residual} = y_{\text{observed}} - y_{\text{predicted}}
  • Residual plots (not necessarily scatter plots) are commonly used to diagnose:
    • Non-linearity
    • Heteroscedasticity (non-constant variance)
    • Outliers

Residuals can also be displayed against predictors, time, or even fitted values rather than just on a scatter plot.


2. Time Series Models

  • Residuals are used to evaluate forecasting errors in time series models (e.g., ARIMA, ETS, Prophet).
  • Diagnostic tools for time series residuals include:
    • Residual plots over time.
    • Autocorrelation Function (ACF) and Partial Autocorrelation Function (PACF) plots of residuals to detect autocorrelation.
    • Histogram and Q-Q plots of residuals to check for normality.

3. Generalized Linear Models (GLMs) and Logistic Regression

  • In GLMs, residuals come in various forms:
    • Deviance residuals: Related to the log-likelihood and model fit.
    • Pearson residuals: Based on standardized differences.
    • Raw residuals: Difference between observed and fitted values.
  • These residuals are often analyzed for patterns, heteroscedasticity, or model misfit.

4. ANOVA (Analysis of Variance)

  • Residuals measure the difference between observed and group means or model predictions.
  • Residual analysis can help determine if assumptions of homogeneity of variance and normality hold.

5. Machine Learning Models

  • Residuals exist in supervised learning tasks like regression:
    • Tree-based models (e.g., Random Forest, Gradient Boosting): Residuals are used to iteratively improve predictions (e.g., in boosting algorithms).
    • Neural Networks: Residuals are used as part of the loss function to minimize prediction error.
  • Residuals can be visualized in plots like:
    • Residuals vs. Fitted Values
    • Residual Histograms
    • Residual Density Plots

6. Diagnostics in Classification Problems

  • While "residuals" typically refer to numeric differences, in classification tasks, you can analyze:
    • Misclassification residuals: The difference between predicted probabilities and true class labels.
    • For example, in logistic regression, residuals measure how far off the predicted probabilities are.

7. Principal Component Analysis (PCA)

  • In PCA, residuals represent the difference between the original data and its reconstruction using a subset of principal components.
  • These residuals are important to identify how much variability is left unexplained by the principal components.

8. Residuals in Spatial Statistics

  • Residuals are analyzed in spatial models to detect spatial autocorrelation.
  • Tools like Moran's I or spatial residual plots help identify if errors show spatial patterns.

9. Residuals in Hypothesis Testing

  • In chi-square tests, residuals can measure how observed values deviate from expected counts. Adjusted residuals indicate the significance of deviations.

Summary:

Residuals are a versatile concept used across various statistical and machine learning models. While scatter plots are one way to visualize residuals, other tools include time series plots, histograms, density plots, ACF/PACF plots, spatial maps, and diagnostic tests. Residuals are essential for evaluating model performance, assumptions, and areas for improvement.

Thursday, December 5, 2024

Top 10 Spaces Huggingface Week 1 Dec 2024

1. https://huggingface.co/spaces/Yuanshi/OminiControl

 

2.

https://huggingface.co/spaces/Qwen/QwQ-32B-preview

QwQ-32B-preview
QwQ-32B-Preview is an experimental research model developed by the Qwen Team, focused on advancing AI reasoning capabilities. As a preview release, it demonstrates promising analytical abilities while having several important limitations such as code switching and recursive reasoning loops. Only single-turn queries are supported in this demo.

GaussianAnything: Interactive Point Cloud Latent Diffusion for 3D Generation

GaussianAnything (arXiv 2024) [codeproject page] is a native 3D diffusion model that supports high-quality 2D Gaussians generation. It first trains a 3D VAE on Objaverse, which compress each 3D asset into a compact point cloud-structured latent. After that, a image/text-conditioned diffusion model is trained following LDM paradigm. The model used in the demo adopts 3D DiT architecture and flow-matching framework, and supports single-image condition. It is trained on 8 A100 GPUs for 1M iterations with batch size 256. Locally, on an NVIDIA A100/A10 GPU, each image-conditioned diffusion generation can be done within 20 seconds (time varies due to the adaptive-step ODE solver used in flow-mathcing.) Upload an image of an object or click on one of the provided examples to see how the GaussianAnything works.

The 3D viewer will render a .glb point cloud exported from the centers of the surfel Gaussians, and an integrated TSDF mesh. Besides, you can find the intermediate stage-1 point cloud in the Tab (Stage-1 Output).



IC-Light V2 Model with stronger illumination variations. See also https://github.com/lllyasviel/IC-Light/discussions/109


rop an image you would like to extend, pick your expected ratio and hit Generate.



About This Blog

Lorem Ipsum

Lorem Ipsum

Lorem

Link Count Widget

Kelaster Pete

tracker

enough nang

Followers

Web Design

My Photo
Helmi
About...
View my complete profile

Cari sampai dapat...