Statistical Learning
Web Scraping with Python: Illustration with CIA World Factbook
In a data science project, almost always the most time consuming and messy part is the data gathering and cleaning. Everyone likes to build a cool deep neural network (or XGboost) model or two and show off one's skills with cool 3D interactive plots. But the models need raw data to start with and they don't come easy and clean. But why gather data or build model anyway? The fundamental motivation is to answer a business or scientific or social question.
Credit Risk Prediction Using Artificial Neural Network Algorithm
Credit risk or credit default indicates the probability of non-repayment of bank financial services that have been given to the customers. Credit risk has always been an extensively studied area in bank lending decisions. Credit risk plays a crucial role for banks and financial institutions, especially for commercial banks and it is always difficult to interpret and manage. Due to the advancements in technology, banks have managed to reduce the costs, in order to develop robust and sophisticated systems and models to predict and manage credit risk. To predict the credit default, several methods have been created and proposed.
Clustering in Power BI using R
Here, I've used the famous Iris Flower dataset to show the clustering in Power BI using R. I've used the K-means clustering method to show the different species of Iris flower. About the dataset: The Iris dataset has 5 attributes (Sepal length, Sepal width, Petal width, Petal length, Species). The 3 different species are named as Setosa, Versicolor and Virginica. It is observed that, the Petal Length and Petal Width are similar in each Species, hence I have considered Petal Length for x axis and Petal Width for y axis to plot a graph. K-means Clustering: K means is a non-hierarchical iterative clustering technique.In this technique we start by randomly assigning the data points to clusters.
Impacts of Dirty Data: and Experimental Evaluation
Qi, Zhixin, Wang, Hongzhi, Li, Jianzhong, Gao, Hong
Data quality issues have attracted widespread attention due to the negative impacts of dirty data on data mining and machine learning results. The relationship between data quality and the accuracy of results could be applied on the selection of the appropriate algorithm with the consideration of data quality and the determination of the data share to clean. However, rare research has focused on exploring such relationship. Motivated by this, this paper conducts an experimental comparison for the effects of missing, inconsistent and conflicting data on classification, clustering, and regression algorithms. Based on the experimental findings, we provide guidelines for algorithm selection and data cleaning.
A Multi-Scheme Ensemble Using Coopetitive Soft-Gating With Application to Power Forecasting for Renewable Energy Generation
Gensler, Andrรฉ, Sick, Bernhard
In this article, we propose a novel ensemble technique with a multi-scheme weighting based on a technique called coopetitive soft gating. This technique combines both, ensemble member competition and cooperation, in order to maximize the overall forecasting accuracy of the ensemble. The proposed algorithm combines the ideas of multiple ensemble paradigms (power forecasting model ensemble, weather forecasting model ensemble, and lagged ensemble) in a hierarchical structure. The technique is designed to be used in a flexible manner on single and multiple weather forecasting models, and for a variety of lead times. We compare the technique to other power forecasting models and ensemble techniques with a flexible number of weather forecasting models, which can have the same, or varying forecasting horizons. It is shown that the model is able to outperform those models on a number of publicly available data sets. The article closes with a discussion of properties of the proposed model which are relevant in its application. Keywords: Ensemble techniques, Power forecasting, Multi model ensembles, Combining forecasts, Model selection, Time series, Data mining 1. Introduction During the past decade, there has been a tremendous growth of the installed capacity of various forms of renewable energy generation. Wind turbines and photovoltaic powerplants contribute substantially to the new mix of energy, which consists of both nonrenewable and renewable energy power plants. Most renewable energy sources have intermittent generation characteristics, i.e., the amount of generated power highly depends on the weather situation and it cannot be regulated the way it is possible with traditional power plants. In order to guarantee grid stability, the power generation and load in the grid have to be balanced, as the intermediate storage of electrical energy is both inefficient and expensive. Intelligent Embedded Systems Homepage: http://www. Depending on the forecasting horizon, the forecast is of interest to different actors in the field, e.g., network operators, power plant operators, or electricity traders. Having an accurate power forecast, the technical and financial risks for all market participants can be reduced. The power forecasting process typically takes place in two steps: 1. A meteorological forecast for the desired area (the location of the renewable energy power plant) is computed. This forecast is called numerical weather prediction (NWP). In this article, we focus on the second step of the forecasting process, i.e., we assume the NWP as given.
A particle-based variational approach to Bayesian Non-negative Matrix Factorization
Masood, M. Arjumand, Doshi-Velez, Finale
Bayesian Non-negative Matrix Factorization (NMF) is a promising approach for understanding uncertainty and structure in matrix data. However, a large volume of applied work optimizes traditional non-Bayesian NMF objectives that fail to provide a principled understanding of the non-identifiability inherent in NMF-- an issue ideally addressed by a Bayesian approach. Despite their suitability, current Bayesian NMF approaches have failed to gain popularity in an applied setting; they sacrifice flexibility in modeling for tractable computation, tend to get stuck in local modes, and require many thousands of samples for meaningful uncertainty estimates. We address these issues through a particle-based variational approach to Bayesian NMF that only requires the joint likelihood to be differentiable for tractability, uses a novel initialization technique to identify multiple modes in the posterior, and allows domain experts to inspect a `small' set of factorizations that faithfully represent the posterior. We introduce and employ a class of likelihood and prior distributions for NMF that formulate a Bayesian model using popular non-Bayesian NMF objectives. On several real datasets, we obtain better particle approximations to the Bayesian NMF posterior in less time than baselines and demonstrate the significant role that multimodality plays in NMF-related tasks.
Coordination via predictive assistants from a game-theoretic view
Geiger, Philipp, Winkelmann, Justus, Proissl, Claudius, Besserve, Michel, Schรถlkopf, Bernhard
We study machine learning-based assistants that support coordination between humans in congested facilities via congestion forecasts. In our theoretical analysis, we use game theory to study how an assistant's forecast that influences the outcome relates to Nash equilibria, and how they can be reached quickly in congestion game-like settings. Using information theory, we investigate approximations to given social choice functions under privacy constraints w.r.t. assistants. And we study dynamics and training for a specific exponential smoothing-based assistant via a linear dynamical systems and causal analysis. We report experiments conducted on a real congested cafeteria with about 400 daily customers where we evaluate this assistant and prediction baselines to gain further insight.
Gaussian Processes indexed on the symmetric group: prediction and learning
Bachoc, Franรงois, Broto, Baptiste, Gamboa, Fabrice, Loubes, Jean-Michel
In the framework of the supervised learning of a real function defined on a space X , the so called Kriging method stands on a real Gaussian field defined on X. The Euclidean case is well known and has been widely studied. In this paper, we explore the less classical case where X is the non commutative finite group of permutations. In this setting, we propose and study an harmonic analysis of the covariance operators that enables to consider Gaussian processes models and forecasting issues. Our theory is motivated by statistical ranking problems.
Representation Learning over Dynamic Graphs
Trivedi, Rakshit, Farajtabar, Mehrdad, Biswal, Prasenjeet, Zha, Hongyuan
In this paper, we propose DyRep - an inductive deep representation learning framework that learns a set of functions to efficiently produce low-dimensional node embeddings that evolves over time. The learned embeddings drive the dynamics of two key processes namely, communication and association between nodes in dynamic graphs. These processes exhibit complex nonlinear dynamics that evolve at different time scales and subsequently contribute to the update of node embeddings. We employ a timescale dependent multivariate point process model to capture these dynamics. We devise an efficient unsupervised learning procedure and demonstrate that our approach significantly outperforms representative baselines on two real-world datasets for the problem of dynamic link prediction and event time prediction.
ARMDN: Associative and Recurrent Mixture Density Networks for eRetail Demand Forecasting
Mukherjee, Srayanta, Shankar, Devashish, Ghosh, Atin, Tathawadekar, Nilam, Kompalli, Pramod, Sarawagi, Sunita, Chaudhury, Krishnendu
Accurate demand forecasts can help on-line retail organizations better plan their supply-chain processes. The challenge, however, is the large number of associative factors that result in large, non-stationary shifts in demand, which traditional time series and regression approaches fail to model. In this paper, we propose a Neural Network architecture called AR-MDN, that simultaneously models associative factors, time-series trends and the variance in the demand. We first identify several causal features and use a combination of feature embeddings, MLP and LSTM to represent them. We then model the output density as a learned mixture of Gaussian distributions. The AR-MDN can be trained end-to-end without the need for additional supervision. We experiment on a dataset of an year's worth of data over tens-of-thousands of products from Flipkart. The proposed architecture yields a significant improvement in forecasting accuracy when compared with existing alternatives.