SearcharxivSearch

arXiv subjects

Vaibhav Joshi

Publications and source records attributed to Vaibhav Joshi.

13 recordsLinked to original sources

Tree Boosting Methods for Balanced andImbalanced Classification and their Robustness Over Time in Risk Assessment

Most real-world classification problems deal with imbalanced datasets, posing a challenge for Artificial Intelligence (AI), i.e., machine learning algorithms, because the minority class, which is of extreme interest, often proves difficult to be detected. This paper empirically evaluates tree boosting methods' performance given different dataset sizes and class distributions, from perfectly balanced to highly imbalanced. For tabular data, tree-based methods such as XGBoost, stand out in several benchmarks due to detection performance and speed. Therefore, XGBoost and Imbalance-XGBoost are evaluated. After introducing the motivation to address risk assessment with machine learning, the paper reviews evaluation metrics for detection systems or binary classifiers. It proposes a method for data preparation followed by tree boosting methods including hyper-parameter optimization. The method is evaluated on private datasets of 1 thousand (K), 10K and 100K samples on distributions with 50, 45, 25, and 5 percent positive samples. As expected, the developed method increases its recognition performance as more data is given for training and the F1 score decreases as the data distribution becomes more imbalanced, but it is still significantly superior to the baseline of precision-recall determined by the ratio of positives divided by positives and negatives. Sampling to balance the training set does not provide consistent improvement and deteriorates detection. In contrast, classifier hyper-parameter optimization improves recognition, but should be applied carefully depending on data volume and distribution. Finally, the developed method is robust to data variation over time up to some point. Retraining can be used when performance starts deteriorating.

cs.LG

Evaluating XGBoost for Balanced and Imbalanced Data: Application to Fraud Detection

This paper evaluates XGboost's performance given different dataset sizes and class distributions, from perfectly balanced to highly imbalanced. XGBoost has been selected for evaluation, as it stands out in several benchmarks due to its detection performance and speed. After introducing the problem of fraud detection, the paper reviews evaluation metrics for detection systems or binary classifiers, and illustrates with examples how different metrics work for balanced and imbalanced datasets. Then, it examines the principles of XGBoost. It proposes a pipeline for data preparation and compares a Vanilla XGBoost against a random search-tuned XGBoost. Random search fine-tuning provides consistent improvement for large datasets of 100 thousand samples, not so for medium and small datasets of 10 and 1 thousand samples, respectively. Besides, as expected, XGBoost recognition performance improves as more data is available, and deteriorates detection performance as the datasets become more imbalanced. Tests on distributions with 50, 45, 25, and 5 percent positive samples show that the largest drop in detection performance occurs for the distribution with only 5 percent positive samples. Sampling to balance the training set does not provide consistent improvement. Therefore, future work will include a systematic study of different techniques to deal with data imbalance and evaluating other approaches, including graphs, autoencoders, and generative adversarial methods, to deal with the lack of labels.

cs.LG

EEG aided boosting of single-lead ECG based sleep staging with Deep Knowledge Distillation

An electroencephalogram (EEG) signal is currently accepted as a standard for automatic sleep staging. Lately, Near-human accuracy in automated sleep staging has been achievable by Deep Learning (DL) based approaches, enabling multi-fold progress in this area. However, An extensive and expensive clinical setup is required for EEG based sleep staging. Additionally, the EEG setup being obtrusive in nature and requiring an expert for setup adds to the inconvenience of the subject under study, making it adverse in the point of care setting. An unobtrusive and more suitable alternative to EEG is Electrocardiogram (ECG). Unsurprisingly, compared to EEG in sleep staging, its performance remains sub-par. In order to take advantage of both the modalities, transferring knowledge from EEG to ECG is a reasonable approach, ultimately boosting the performance of ECG based sleep staging. Knowledge Distillation (KD) is a promising notion in DL that shares knowledge from a superior performing but usually more complex teacher model to an inferior but compact student model. Building upon this concept, a cross-modality KD framework assisting features learned through models trained on EEG to improve ECG-based sleep staging performance is proposed. Additionally, to better understand the distillation approach, extensive experimentation on the independent modules of the proposed model was conducted. Montreal Archive of Sleep Studies (MASS) dataset consisting of 200 subjects was utilized for this study. The results from the proposed model for weighted-F1-score in 3-class and 4-class sleep staging showed a 13.40 \% and 14.30 \% improvement, respectively. This study demonstrates the feasibility of KD for single-channel ECG based sleep staging's performance enhancement in 3-class (W-R-N) and 4-class (W-R-L-D) classification.

eess.SP

Effect of combined heaving and pitching on propulsion of single and tandem flapping foils

In this study, we present two and three-dimensional numerical investigation to understand the combined effects of the non-dimensional heave amplitude varying from 0 to 1 and the pitch amplitude ranging from 0 to 30 on the propulsive performance for a single and tandem foil system at Reynolds number 1100 and reduced frequency 0.2. We initially present a systematic analysis on the thrust generation due to the kinematic parameters for a single foil. The significance of effective angle of attack and the projected area of the foil has been emphasized in explaining the dynamics of lift and drag forces and their relationship with the propulsion. We next investigate the relation between the streamwise gap and kinematic parameters on propulsion for the tandem foil system. We show that the propulsive performance strongly depends on the upstream wake interacting with the downstream foil, and the timing of the interaction due to the gap between the foils. Through a control volume analysis, the time-averaged pressure and streamwise velocity have been investigated to explain the effect of kinematic parameters on the hydrodynamic forces. Typically in the literature, the formation of jet in the wake has been attributed to thrust generation. However, in this study, we emphasize and show the significance of the time-averaged pressure in the wake apart from the streamwise velocity (jet) for predicting the thrust forces. The study is concluded with a three-dimensional demonstration of the tandem foils to understand the possible three-dimensional effects due to the large amplitude flapping and wake-foil interaction.

physics.flu-dyn

Propulsive performance of morphing and heaving foil

Biological locomotion, observed in the flexible wings of birds and insects, bodies and fins of aquatic mammals and fishes, consists of their ability to morph the wings/fins. The morphing capability holds significance in the abilities of fishes to swim upstream without spending too much energy and that of birds to glide for extended periods of time. Simplifying the wing or fins to a foil, morphing refers to the ability of the foil to change its camber smoothly, without sharp bends on the foil surface. This allows precise control over flow separation and vortex shedding. Compared to conventional trailing-edge extensions or flaps, used in rudders and elevators in submarines and ships, morphing foils provide better control of thrust and lift characteristics. This study aims at understanding the importance of the morphing of foil combined with a sinusoidal heaving motion on thrust generation. A two-dimensional variational stabilized Petrov-Galerkin moving mesh framework is utilized for modelling the incompressible low Reynolds number flow across the flapping foil. The morphing motion is characterized by the extent of morphing, measured as an angle of deviation from the initial camber, and the point of initiation of morphing on the foil as a percentage of its chord length. The effect of the foil morphing and the heaving motion on the propulsive performance are investigated. The extent of morphing is varied from -30 deg and 30 deg, and the point of initiation ranges from 15% to 50% of the chord. The Reynolds and Strouhal numbers for the study are 1100 and 0.2, respectively. The results from the current work can pave the way for enhanced engineering designs in bio-mimetics and give insights on design conditions for optimal thrust performance.

physics.flu-dyn

A Deep Knowledge Distillation framework for EEG assisted enhancement of single-lead ECG based sleep staging

Automatic Sleep Staging study is presently done with the help of Electroencephalogram (EEG) signals. Recently, Deep Learning (DL) based approaches have enabled significant progress in this area, allowing for near-human accuracy in automated sleep staging. However, EEG based sleep staging requires an extensive as well as an expensive clinical setup. Moreover, the requirement of an expert for setup and the added inconvenience to the subject under study renders it unfavourable in a point of care context. Electrocardiogram (ECG), an unobtrusive alternative to EEG, is more suitable, but its performance, unsurprisingly, remains sub-par compared to EEG-based sleep staging. Naturally, it would be helpful to transfer knowledge from EEG to ECG, ultimately enhancing the model's performance on ECG based inputs. Knowledge Distillation (KD) is a renowned concept in DL that looks to transfer knowledge from a better but potentially more cumbersome teacher model to a compact student model. Building on this concept, we propose a cross-modal KD framework to improve ECG-based sleep staging performance with assistance from features learned through models trained on EEG. Additionally, we also conducted multiple experiments on the individual components of the proposed model to get better insight into the distillation approach. Data of 200 subjects from the Montreal Archive of Sleep Studies (MASS) was utilized for our study. The proposed model showed a 14.3\% and 13.4\% increase in weighted-F1-score in 4-class and 3-class sleep staging, respectively. This demonstrates the viability of KD for performance improvement of single-channel ECG based sleep staging in 4-class(W-L-D-R) and 3-class(W-N-R) classification.

eess.SP

A variational interface-preserving and conservative phase-field method for the surface tension effect in two-phase flows

We present a finite element based variational interface-preserving and conservative phase-field formulation for the modeling of incompressible two-phase flows with surface tension dynamics. The preservation of the hyperbolic tangent interface profile of the convective Allen-Cahn phase-field formulation relies on a novel time-dependent mobility model. The mobility coefficient is adjusted adaptively as a function of gradients of the velocity and the order parameter in the diffuse interface region in such a way that the free energy minimization properly opposes the convective distortion. The ratio of the convective distortion to the free energy minimization is termed as the convective distortion parameter, which characterizes the deviation from the hyperbolic tangent shape due to the convection effect. The mass conservation is achieved by enforcing a Lagrange multiplier with both temporal and spatial dependence on the phase-field function. We integrate the interface-preserving and conservative phase-field formulation with the incompressible Navier-Stokes equations and the continuum surface tension force model for the simulation of incompressible two-phase flows. A positivity preserving scheme designed for the boundedness and stability of the solution is employed for the variational discretization using unstructured finite elements. We examine the convergence and accuracy of the Allen-Cahn phase-field solver through a generic one-dimensional bistable diffusion-reaction system in a stretching flow. We quantify and systematically assess the relative interface thickness error and the relative surface tension force error with respect to the convective distortion parameter. Two- and three-dimensional rising bubble cases are further simulated to examine the effectiveness of the proposed model on the volume-preserving mean curvature flow and the interface-preserving capability.

physics.comp-ph

Transverse flow-induced vibrations of a sphere in the proximity of a free surface: A numerical study

We present a numerical study on the transverse flow-induced vibration (FIV) of an elastically mounted sphere in the vicinity of a free surface at subcritical Reynolds numbers. To begin, We verify and analyze the mode transitions and the motion trajectories of a fully submerged sphere vibrating freely in all directions for the Reynolds number up to $30\,000$. Next, the response dynamics of a transversely vibrating sphere is studied for three values of normalized immersion ratio ($h^*=h/D$, where $h$ is the distance from the top of the sphere to undisturbed free-surface level and $D$ is the sphere diameter), at $h^*=1$ (fully submerged sphere with no free-surface effect), $h^*=0$ (where the top of the sphere touches the free surface) and $h^*=-0.25$ (where the sphere pierces the free surface). At the lock-in range, we observe that the amplitude response at $h^*=0$ is decreased significantly compared to the case at $h^*=1$. It is found that the vorticity flux is diffused due to the free-surface boundary and the free surface acts as a sink of energy that leads to a reduction in the transverse force and amplitude response. When the sphere pierces the free surface at $h^*=-0.25$, the amplitude response at the lock-in state is found to be greater than all the submerged cases studied with the maximum peak-to-peak amplitude of $\sim2D$. We find that the interaction of the piercing sphere with the air-water interface causes a relatively large surface deformation and has a significant impact on the synchronization of the vortex shedding and the vibration frequency. Increased streamwise vorticity gives rise to a relatively larger transverse force to the piercing sphere at $h^*=-0.25$, resulting in greater positive energy transfer per cycle to sustain the large-amplitude vibration. Lasty, we study the sensitivity of FIV response on the mass ratio, $m^*$, and Froude number, $Fr$, at the lock-in state.

physics.flu-dyn

A variational flexible multibody formulation for partitioned fluid-structure interaction: Application to bat-inspired drones and unmanned air-vehicles

We present a three-dimensional (3D) partitioned aeroelastic formulation for a flexible multibody system interacting with incompressible turbulent fluid flow. While the incompressible Navier-Stokes system is discretized using a stabilized Petrov-Galerkin procedure, the multibody structural system consists of a generic interaction of multiple components such as rigid body, beams and flexible thin shells along with various types of joints and connections among them. A co-rotational framework is utilized for the category of small strain problems where the displacement of the body is decomposed into a rigid body rotation and a small strain component. This assumption simplifies the structural equations and allows for the incorporation of multiple bodies (rigid as well as flexible) in the system. The displacement and rotation constraints at the joints are imposed by a Lagrange multiplier method. The equilibrium conditions at the fluid-structure interface are satisfied by the transfer of tractions and structural displacements via the radial basis function approach, which is globally conservative. For the coupled stability in low structure-to-fluid mass ratio regimes, a nonlinear iterative force correction scheme is employed in the partitioned staggered predictor-corrector scheme. The convergence and generality of the radial basis function mapping are analyzed by carrying out systematic error analysis of the transfer of fluid traction across the non-matching fluid-structure interface where a third-order of convergence is observed. The proposed aeroelastic framework is then validated by considering a flow across a flexible pitching plate configuration with serration at the trailing edge. Finally, we demonstrate the flow across a flexible flapping wing of a bat modeling the bone fingers as beams and the flexible membrane as thin shells in the multibody system along with the joints.

physics.flu-dyn

A hybrid variational Allen-Cahn/ALE scheme for the coupled analysis of two-phase fluid-structure interaction

We present a novel partitioned iterative formulation for modeling of fluid-structure interaction in two-phase flows. The variational formulation consists of a stable and robust integration of three blocks of differential equations, viz., incompressible viscous fluid, a rigid or flexible structure and two-phase indicator field. The fluid-fluid interface between the two phases, which may have high density and viscosity ratios, is evolved by solving the conservative phase-field Allen-Cahn equation in the arbitrary Lagrangian-Eulerian coordinates. While the Navier-Stokes equations are solved by a stabilized Petrov-Galerkin method, the conservative Allen-Chan phase-field equation is discretized by the positivity preserving variational scheme. Fully decoupled implicit solvers for the two-phase fluid and the structure are integrated by the nonlinear iterative force correction in a staggered partitioned manner. We assess the accuracy and stability of the new phase-field/ALE variational formulation for two- and three-dimensional problems involving the dynamical interaction of rigid bodies with free-surface. We consider the decay test problems of increasing complexity, namely free translational heave decay of a circular cylinder and free rotation of a rectangular barge. Through numerical experiments, we show that the proposed formulation is stable and robust for high density ratios across fluid-fluid interface and for low structure-to-fluid mass ratio with strong added-mass effects. Using three-dimensional unstructured meshes, we demonstrate the second-order temporal accuracy of the coupled phase-field/ALE method. Finally, we demonstrate the three-dimensional phase-field FSI formulation for a practical problem of internal two-phase flow in a flexible circular pipe subjected to vortex-induced vibrations due to external fluid flow.

physics.flu-dyn

An adaptive variational procedure for the conservative and positivity preserving Allen-Cahn phase-field model

We present an adaptive variational procedure for unstructured meshes to capture fluid-fluid interfaces in two-phase flows. The two phases are modeled by the phase-field finite element formulation, which involves the conservative Allen-Cahn equation coupled with the incompressible Navier-Stokes equations. The positivity preserving variational formulation is designed to maintain the bounded and stable solution of the Allen-Cahn equation. For the adaptivity procedure, we consider the residual-based error estimates for the underlying differential equations of the two-phase system. In particular, the adaptive refinement/coarsening is carried out by the newest vertex bisection algorithm by evaluating the residual error indicators based on the error estimates of the Allen-Cahn equation. The coarsening algorithm avoids the storage of the tree data structures for the hierarchical mesh, thus providing the ease of numerical implementation. The proposed nonlinear adaptive partitioned procedure aims at reducing the amount of coarsening while maintaining the convergence properties of the underlying nonlinear coupled differential equations. We investigate the adaptive phase-field finite element scheme through the spinodal decomposition in a complex curved geometry and the volume-conserved interface motion driven by the mean curvature flow for two circles in a square domain. We then assess the accuracy and efficiency of the proposed procedure by modeling the free-surface motion in a sloshing tank. The mesh adaptivity remarkably reduces the degrees of freedom and the computational cost by nearly half for similar accuracy and improves the mass conservation. Finally, we apply the adaptive numerical framework to solve the application of a dam-breaking problem with topological changes.

physics.flu-dyn

3D Common-Refinement Method for Non-Matching Meshes in Partitioned Variational Fluid-Structure Analysis

We present a three-dimensional (3D) common-refinement method for non-matching meshes between discrete non-overlapping subdomains of incompressible fluid and nonlinear hyperelastic structure. To begin, we first investigate the accuracy of common-refinement method (CRM) to satisfy traction equilibrium condition along the fluid-elastic interface with non-matching meshes. We systematically assess the accuracy of CRM against the matching grid solution by varying grid mismatch between the fluid and solid meshes over a cylindrical tubular elastic body. We demonstrate second-order accuracy of CRM through uniform refinements of fluid and solid meshes along the interface. We then extend the error analysis to transient data transfer across non-matching meshes between fluid and solid solvers. We show that the common-refinement discretization across non-matching fluid-structure grids yields accurate transfer of the physical quantities across the fluid-solid interface. We next solve a 3D benchmark problem of a cantilevered hyperelastic plate behind a circular bluff body and verify the accuracy of coupled solutions with respect to the available solution in the literature. By varying the solid interface resolution, we generate various non-matching grid ratios and quantify the accuracy of CRM for the nonlinear structure interacting with a laminar flow. We illustrate that the CRM with the partitioned NIFC treatment is stable for low solid-to-fluid density ratio and non-matching meshes. Finally, we demonstrate the 3D parallel implementation of common-refinement with NIFC scheme for a realistic engineering problem of drilling riser undergoing complex vortex-induced vibration with strong added mass effects.

physics.comp-ph

A positivity preserving and conservative variational scheme for phase-field modeling of two-phase flows

We present a positivity preserving variational scheme for the phase-field modeling of incompressible two-phase flows with high density ratio and using meshes of arbitrary topology. The variational finite element technique relies on the Allen-Cahn phase-field equation for capturing the phase interface on a fixed mesh with a mass conservative and energy-stable discretization. Mass is conserved by enforcing a Lagrange multiplier which has both temporal and spatial dependence on the solution of the phase-field equation. The spatial part of the Lagrange multiplier is written as a mid-point approximation to make the scheme energy-stable. This enables us to form a conservative, energy-stable and positivity preserving scheme. The proposed variational technique reduces spurious and unphysical oscillations in the solution while maintaining second-order spatial accuracy. To model a generic two-phase free-surface flow, we couple the Allen-Cahn phase-field equation with the Navier-Stokes equations. Comparison of results between standard linear stabilized finite element method and the present variational formulation shows a remarkable reduction of oscillations in the solution while retaining the boundedness of the phase-indicator field. We perform a standalone test to verify the accuracy and stability of the Allen-Cahn two-phase solver. Standard two-phase flow benchmarks such as Laplace-Young law and sloshing tank problem are carried out to assess the convergence and accuracy of the coupled Navier-Stokes and Allen-Cahn solver. Two- and three-dimensional dam break problem are then solved to assess the scheme for the problem with topological changes of the air-water interface on unstructured meshes. Finally, we demonstrate the phase-field solver for a practical problem of wave-structure interaction in offshore engineering using general three-dimensional unstructured meshes.

physics.flu-dyn