[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79CP7HF20KES7TTP52M7FMK":3,"skill-same:01M79CP7HF20KES7TTP52M7FMK":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M79CP7HF20KES7TTP52M7FMK","machine-learning-mathematics",null,"Explain the mathematics behind machine learning and AI: linear models, gradient descent, backpropagation, neural networks, probabilistic models, kernels, PCA, SVD, optimization landscapes, generalization, attention and transformers, information theory in ML. Use for ML theory and derivations.","hamzabellouch\u002Fagent-skills","hamzabellouch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F237856042?v=4","01M79BRYW7XAMK3YDWQEMTWGWS","Hamza Bellouch","01M79BRYWXQV3JK2TGVTX8GN2A",8,"MIT","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FMath\u002FMath_Master_Library\u002Fmachine-learning-mathematics\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: machine-learning-mathematics\ndescription: \"Explain the mathematics behind machine learning and AI: linear models, gradient descent, backpropagation, neural networks, probabilistic models, kernels, PCA, SVD, optimization landscapes, generalization, attention and transformers, information theory in ML. Use for ML theory and derivations.\"\n---\n\n# Mathematics of Machine Learning\n\n## Supervised learning\n- Empirical risk minimization; loss functions (MSE, cross-entropy, hinge); regularization (L2 = Gaussian prior, L1 = Laplace prior \u002F sparsity).\n- Linear regression normal equations; logistic regression gradient X^T(sigma(Xw) - y); softmax cross-entropy gradient p - y.\n- Bias-variance decomposition; VC dimension; PAC learning; Rademacher complexity; generalization bounds; double descent and overparameterization.\n- SVM and kernels: Mercer kernels, RBF, representer theorem; Gaussian processes.\n\n## Neural networks\n- Forward pass, backpropagation = reverse-mode automatic differentiation via the chain rule; Jacobian-vector products; vanishing\u002Fexploding gradients; initialization (Xavier, He); batch\u002Flayer norm; residual connections; universal approximation theorem.\n- Optimizers: SGD, momentum, Adam; learning-rate schedules; loss landscape, saddle points, flat minima.\n- CNN: convolution as shared-weight linear operator; equivariance. RNN\u002FLSTM. Transformers: attention softmax(QK^T\u002Fsqrt(d))V, positional encodings, scaling laws, complexity O(n^2 d).\n- Generative models: VAE (ELBO = E log p(x|z) - KL(q||p)), GAN (minimax), diffusion (score matching, SDE), autoregressive LMs (maximum likelihood on next-token).\n- Reinforcement learning: MDP, Bellman equation, policy gradient theorem, Q-learning, PPO, RLHF.\n\n## Unsupervised & probabilistic\nPCA (eigenvectors of covariance, SVD), k-means (EM special case), EM algorithm, Gaussian mixtures, HMMs, graphical models, variational inference, MCMC, t-SNE\u002FUMAP, contrastive learning, mutual information bounds.\n\n## Practical math checks\nGradient checking with finite differences; dimensional analysis of tensor shapes; numerical stability (log-sum-exp); calibration; data leakage; reproducibility.\n","# Mathematics of Machine Learning\n\n## Supervised learning\n- Empirical risk minimization; loss functions (MSE, cross-entropy, hinge); regularization (L2 = Gaussian prior, L1 = Laplace prior \u002F sparsity).\n- Linear regression normal equations; logistic regression gradient X^T(sigma(Xw) - y); softmax cross-entropy gradient p - y.\n- Bias-variance decomposition; VC dimension; PAC learning; Rademacher complexity; generalization bounds; double descent and overparameterization.\n- SVM and kernels: Mercer kernels, RBF, representer theorem; Gaussian processes.\n\n## Neural networks\n- Forward pass, backpropagation = reverse-mode automatic differentiation via the chain rule; Jacobian-vector products; vanishing\u002Fexploding gradients; initialization (Xavier, He); batch\u002Flayer norm; residual connections; universal approximation theorem.\n- Optimizers: SGD, momentum, Adam; learning-rate schedules; loss landscape, saddle points, flat minima.\n- CNN: convolution as shared-weight linear operator; equivariance. RNN\u002FLSTM. Transformers: attention softmax(QK^T\u002Fsqrt(d))V, positional encodings, scaling laws, complexity O(n^2 d).\n- Generative models: VAE (ELBO = E log p(x|z) - KL(q||p)), GAN (minimax), diffusion (score matching, SDE), autoregressive LMs (maximum likelihood on next-token).\n- Reinforcement learning: MDP, Bellman equation, policy gradient theorem, Q-learning, PPO, RLHF.\n\n## Unsupervised & probabilistic\nPCA (eigenvectors of covariance, SVD), k-means (EM special case), EM algorithm, Gaussian mixtures, HMMs, graphical models, variational inference, MCMC, t-SNE\u002FUMAP, contrastive learning, mutual information bounds.\n\n## Practical math checks\nGradient checking with finite differences; dimensional analysis of tensor shapes; numerical stability (log-sum-exp); calibration; data leakage; reproducibility.\n",{"name":5,"description":7},"main","e905af21e5f1e1c3ca605e9656c3a7930360a84e","Math\u002FMath_Master_Library\u002Fmachine-learning-mathematics",1,"https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills","https:\u002F\u002Fhamzabellouch.github.io\u002F","https:\u002F\u002Fgithub.com\u002Fhamzabellouch","hamzabellouch.github.io","CEO & Founder of @tknoglobal | Researcher in Technology & Applied Sciences.","2026-10-17 03:20:19",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add hamzabellouch\u002Fagent-skills --skill machine-learning-mathematics",{"tool":40,"command":41},"bunx","bunx skills add hamzabellouch\u002Fagent-skills --skill machine-learning-mathematics",{"tool":43,"command":44},"pnpm","pnpm dlx skills add hamzabellouch\u002Fagent-skills --skill machine-learning-mathematics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FMath\u002FMath_Master_Library\u002Fmachine-learning-mathematics\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"metadata.json","REFERENCE","参考文档",439,"https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FMath\u002FMath_Master_Library\u002Fmachine-learning-mathematics\u002Fmetadata.json",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M79FHH2H815A9TAP6WNKH4Q8","security-audit","Comprehensive security guidance, source code audit, vulnerability assessment, and penetration test review for codebases, APIs, microservices, CLI tools, libraries, and LLM-backed applications. Triggers on requests to audit a codebase, conduct security reviews, find vulnerabilities or flaws, pen-test source code, or when the user asks in Arabic (فحص أمني، تدقيق الكود أمنياً، مراجعة الثغرات، فحص أمان المشروع). Supports Guidance mode (focused review) and Full Audit mode (deterministic 6-phase harness).","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FSecurity_Audit_and_Code_Review\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M79FHBGXVBY6VQ1X7ETAZMF1","malware-analysis-reversing","Production malware analysis workflows, reverse engineering methodologies, isolated sandbox triage, static\u002Fdynamic binary analysis, memory forensics, and YARA detection rule authoring.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fmalware-analysis-reversing\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M79FH6EACDR801TZCE4R8SAC","application-security-pentesting","Production Application Security (AppSec) standards, OWASP Top 10 vulnerability remediation, SAST\u002FDAST pipeline integration, secure code review, threat modeling, and defensive security posture.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FOffensive_Security_and_Pentesting\u002Fapplication-security-pentesting\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M79FH0VKVT44FK923K520ZQA","oauth2-oidc-security-flows","Implement enterprise OAuth 2.1 and OpenID Connect (OIDC) authorization code flow with Proof Key for Code Exchange (PKCE), state and nonce verification, refresh token rotation, token revocation, and centralized IdP federation (Keycloak, Auth0, Okta). Trigger when building secure authentication, single sign-on (SSO), or third-party delegated authorization.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Foauth2-oidc-security-flows\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M79FGVVB3R4T88XXD8FRSV5B","jwt-session-management-hardening","Harden JWT-based authentication and session lifecycles using asymmetric signing (RS256\u002FEdDSA), JWKS rotation, strict claims validation, Redis-backed sliding window sessions, revocation lists, and secure HttpOnly cookie storage. Trigger when implementing token validation, session revocation, or hardening API authentication.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FIdentity_and_Access_Management_IAM\u002Fjwt-session-management-hardening\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M79FGNCPZ85CVEY0B3NE4H3B","soc2-compliance-automation","Best practices for implementing SOC 2 Type II compliance controls, continuous evidence collection, infrastructure policy-as-code, and automated security monitoring. Use when automating Trust Services Criteria (Security, Availability, Confidentiality, Processing Integrity, Privacy), audit logging, IAM least privilege, or CI\u002FCD security gates.","https:\u002F\u002Fgithub.com\u002Fhamzabellouch\u002Fagent-skills\u002Fblob\u002Fmain\u002FSecurity\u002FGovernance_Compliance_and_Legal_Tech\u002Fsoc2-compliance-automation\u002FSKILL.md",[],[]]