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

Точность тестовых данных считается неверно #1

Open
Winterpuma opened this issue Apr 28, 2021 · 0 comments

Comments

@Winterpuma
Copy link

В ЛР1 в функции test_network считается количество совпадений внутри массива одного значения. Таким образом точность сильно завышается (т.к. у нас большая часть значений -1)

Почему бы не считать распознал/не распознал? Тассову же не нравится что точность такая большая.

И тогда

def test_network(network):
    total_classifications = len(test_dataset) 
    misc = 0
    for data in test_dataset:
        results = network.solve(data.inputs)
        if results != data.results:
            misc += 1
Winterpuma added a commit to Winterpuma/bmstu_neural-networks that referenced this issue May 3, 2021
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

No branches or pull requests

1 participant