Searcharxiv⌕ Search

arXiv subjects

Harsh Kashyap

Publications and source records attributed to Harsh Kashyap.

3 recordsLinked to original sources

When Is the Expensive Method Worth It? A Content-Driven Analysis of Classical Bayer Demosaicing

Demosaicing reconstructs a full-colour image from a single-sensor colour-filter-array (CFA) mosaic, where only one colour is measured per pixel. Classical methods make different assumptions about images, from simple averaging to directional edge-aware interpolation, and the directional methods cost markedly more compute. We ask a practical question that a per-image quality ranking does not answer: for a given image, is the expensive directional method worth its cost? Using a controlled simulate-reconstruct pipeline on 80 benchmark images from four public datasets (Kodak, McMaster, BSD100, Urban100), six classical methods, and image-content descriptors fixed before any results were seen, we show that the quality gain of the edge-aware method (Menon 2007) over the best cheap linear method is not constant. It ranges from $-6.6$ to $+6.8$ dB, and on 31% of images it is zero or negative, meaning a cheap method matches or beats the expensive one. The gain is also predictable from content: it correlates with mean image saturation at $r=-0.86$ ($p<10^{-6}$). We then build an interpretable depth-2 decision tree that recommends the best cheap method from image descriptors, beating an always-pick-the-most-common baseline by 20.0 percentage points under leave-one-image-out validation. The analysis uses no deep learning, and every step can be inspected.

cs.CV↗

InvestorNerd: An Investment and Financial Insights System Based on User Profiles

InvestorNerd is a web-based platform (investornerd.org) designed to educate and democratize financial understanding by providing accessible, AI-powered investment and personal finance insights tailored to potential user profiles. The system addresses a key challenge in helping everyday individuals, especially those without formal financial education, make sense of investment options and personal financial decisions. The platform offers three interactive tools: Stock Insights - Allows users to input any Stock, Mutual Fund, or Exchange Traded Fund (ETF) ticker to receive a summary of relevant news sentiment and quantitative metrics. Stock Insights Questionnaire - Builds on stock insights by letting users specify a preferred risk tolerance and sector interest. It returns categorized investment tables based on volatility and sector, sortable by dividend yield, return percentages, and others. General Insights Questionnaire - Provides users with personalized insights based on answers to an age-income-expenditure-savings questionnaire. Outputs include possible actions regarding savings strategies, account types (e.g., Roth IRA, UTMA), and potential loan options (e.g., FHA). The output is designed to be clear, unbiased, and educational, empowering novice investors with practical insights. This paper details the design, implementation, and evaluation of InvestorNerd, demonstrating how generative AI and open financial data can be integrated to create scalable, insight-rich tools for financial literacy.

cs.CE↗

Measurement-induced cubic phase state generation

The cubic phase state constitutes a nonlinear resource that is essential for universal quantum computing protocols. However, constructing such non-classical states faces many challenges. In this work, we present a protocol for generating a cubic phase state with high fidelity. The protocol is based on a set of Gaussian operations assisted by a detection operation. To find the proper set of parameters that results in both high fidelity and high detection probability, we provide a numerical multiparameter optimization. We investigate a broad range of target states and study how parameter imperfections influence fidelity.

quant-ph↗