Category : mingw

I’m new to g++ compilers on windows. I installed a g++ compiler(MinGW). I imported a c++ file on python using MinGW in cmd in administrator mode. Python code : import sys, os def main(argv): if ‘-i’ in argv[0]: run(argv[1]) def run(a): os.system(‘g++ ‘ + a+’.cpp’ + ‘ -o ‘ + a + ‘.exe’) os.system(a + ..

Read more

I have forked scikit-learn github code from https://github.com/scikit-learn/scikit-learn. I want to debug this file: https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/cluster/_mean_shift.py . I have added from sklearn.datasets.samples_generator import make_blobs bandwidth=0.5 num_mean_shift_iterations=5 num_points=100 centers = [[-1, -1], [-1, 1], [1, -1], [1, 1]] x1, y = make_blobs(n_samples=num_points, centers=centers, cluster_std=0.4, random_state=42) clustering = MeanShift(bandwidth=bandwidth, n_jobs = -1, max_iter=num_mean_shift_iterations).fit(x1) in _mean_shift.py. And I am ..

Read more