Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New split volume program #768

Draft
wants to merge 189 commits into
base: devel
Choose a base branch
from
Draft

New split volume program #768

wants to merge 189 commits into from

Conversation

oierlauzi
Copy link
Collaborator

Complete overhaul of the split volume program. A new graph theory-based approach was implemented to perform 3D classification

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
17.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

averages = self._computeAverages(data, gains, noise2)

if nComponents == 0:
pca = sklearn.decomposition.PCA(n_components='mle')

Check notice

Code scanning / SonarCloud

Results that depend on random number generation should be reproducible Low

Provide a seed for the random\_state parameter. See more on SonarQube Cloud
if nComponents == 0:
pca = sklearn.decomposition.PCA(n_components='mle')
else:
pca = sklearn.decomposition.PCA(n_components=nComponents)

Check notice

Code scanning / SonarCloud

Results that depend on random number generation should be reproducible Low

Provide a seed for the random\_state parameter. See more on SonarQube Cloud
if method == 'isomap':
result = sklearn.manifold.Isomap(n_components=d, n_neighbors=neighbors, n_jobs=jobs)
elif method == 'spectral':
result = sklearn.manifold.SpectralEmbedding(n_components=d, n_neighbors=neighbors, n_jobs=jobs)

Check notice

Code scanning / SonarCloud

Results that depend on random number generation should be reproducible Low

Provide a seed for the random\_state parameter. See more on SonarQube Cloud
elif method == 'spectral':
result = sklearn.manifold.SpectralEmbedding(n_components=d, n_neighbors=neighbors, n_jobs=jobs)
elif method == 'tsne':
result = sklearn.manifold.TSNE(n_components=d, n_jobs=jobs)

Check notice

Code scanning / SonarCloud

Results that depend on random number generation should be reproducible Low

Provide a seed for the random\_state parameter. See more on SonarQube Cloud
elif method == 'tsne':
result = sklearn.manifold.TSNE(n_components=d, n_jobs=jobs)
elif method == 'mds':
result = sklearn.manifold.MDS(n_components=d, n_jobs=jobs)

Check notice

Code scanning / SonarCloud

Results that depend on random number generation should be reproducible Low

Provide a seed for the random\_state parameter. See more on SonarQube Cloud
covarianceType = self.COVARIANCE_TYPES[self.covarianceType.get()]
components = self.classCount.get()

return sklearn.mixture.GaussianMixture(

Check notice

Code scanning / SonarCloud

Results that depend on random number generation should be reproducible Low

Provide a seed for the random\_state parameter. See more on SonarQube Cloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants