Tuesday, October 1, 2019

Parsing escape backslashes invalid JSON

let data = jsonData.replace(/(^\{.*"Data":")(.*)("\}$)/,"$2")
let x = JSON.parse(data)



Sunday, September 15, 2019

A Very Functional QuickSort


public static IEnumerable<T> QuickSort<T>(IEnumerable<T> A)
{
int size = A.Count();
var pivot = size > 1 ? A.ToList()[new Random().Next(0, size - 1)] : default(T);
return size > 1
? QuickSort<T>(A.Where(x => Comparer<T>.Default.Compare(x, pivot) < 0))
.Concat(A.Where(x => Comparer<T>.Default.Compare(x, pivot) == 0))
.Concat(QuickSort<T>(A.Where(x => Comparer<T>.Default.Compare(x, pivot) > 0)))
: A;
}

Football Player Transfer Prediction

Football Player Transfer Prediction Using Different Classifiers Project Report :  Football Player Transfer Prediction Report ...