Coder Social home page Coder Social logo

dpuenteramirez / semisupervised-learning-and-instance-selection-methods Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 4.0 89.19 MB

TFG - Semisupervised learning and instance selection methods

Home Page: https://dpuenteramirez.github.io/Semisupervised-learning-and-instance-selection-methods/

License: BSD 3-Clause "New" or "Revised" License

Python 38.78% Jupyter Notebook 52.54% TeX 8.68%
semi-supervised-learning semisupervised-learning instance-selection-methods jupyter python safe-semi-supervised-learning

semisupervised-learning-and-instance-selection-methods's Introduction

Hi 👋, I'm Daniel

Currently I am Pentester and Cybersecurity consultant at Mnemo.

dpuenteramirez

dpuenteramirez

callmednx

Connect with me:

callmednx danielpuenteramirez dpuenteramirez dpuenteramirez

Languages and Tools:

android arduino c cplusplus csharp docker grafana java javascript kotlin linux matlab mongodb mysql nodejs opencv oracle perl postgresql python pytorch scikit_learn swift tensorflow typescript

Support:

danielpuente



dpuenteramirez

 dpuenteramirez

dpuenteramirez

May the code be with us! Or not, just use Copilot :D

semisupervised-learning-and-instance-selection-methods's People

Contributors

deepsource-autofix[bot] avatar deepsourcebot avatar dpuenteramirez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

semisupervised-learning-and-instance-selection-methods's Issues

ENN breaks when running from ICF in testing

When running test for algorithm validation, ENN works properly by itself. But when is called from ICF the code breaks when searching for neighbors of the last elements.

Might be because of how it considers the k neighbors. I will look into it on November 30, 2021.

SCRUM November - Annex

Add to the annexes the planning that has been followed in the first month of work.

  • Introducción
  • Sprint 1 - Nov 08, 2021 to Nov 19, 2021
  • Sprint 2 - Nov 22, 2021 to Dec 03, 2021

ENN returns empty dataset when working with a small dataset which contains lots of different classes.

Traceback (most recent call last):
  File "testing_unlabeled.py", line 105, in <module>
    main()
  File "testing_unlabeled.py", line 51, in main
    results_dataset = np.array(__evaluate__(dataset=d1, precision=precision,
  File "testing_unlabeled.py", line 88, in __evaluate__
    acc, mse = __train_and_predict__(data_alg,
  File "testing_unlabeled.py", line 98, in __train_and_predict__
    tree.fit(data_alg['data'], data_alg['target'])
  File "/opt/anaconda3/lib/python3.8/site-packages/sklearn/tree/_classes.py", line 903, in fit
    super().fit(
  File "/opt/anaconda3/lib/python3.8/site-packages/sklearn/tree/_classes.py", line 157, in fit
    X, y = self._validate_data(X, y,
  File "/opt/anaconda3/lib/python3.8/site-packages/sklearn/base.py", line 430, in _validate_data
    X = check_array(X, **check_X_params)
  File "/opt/anaconda3/lib/python3.8/site-packages/sklearn/utils/validation.py", line 63, in inner_f
    return f(*args, **kwargs)
  File "/opt/anaconda3/lib/python3.8/site-packages/sklearn/utils/validation.py", line 694, in check_array
    raise ValueError(
ValueError: Expected 2D array, got 1D array instead:
array=[].
Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample.

Improve minor aspects of the source code

I'm reading the source code of ENN and I have the following suggestions:

  • Change "flower" by "instance", I know that you checked it with flowers (Iris) but there are more datasets! ;)
  • Try to use the PEP8 standard . There are some online checkers.

Theoretical concepts - Report

Theoretical concepts.

  • Minería de datos
  • Aprendizaje supervisado
  • Aprendizaje no supervisado
  • Aprendizaje semisupervisado

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.