Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • F FEDOT
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 87
    • Issues 87
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ITMO-NSS-team
  • FEDOT
  • Issues
  • #234

Closed
Open
Created Jan 28, 2021 by Elizaveta Lutsenko@LizLutsenkoOwner

При решении задачи Classification результаты принимают вещественные значения.

Created by: MAGLeb

Решая задачу классификации, результат предсказания не целые числа.

task = 'classification'
composer_params = {
    'max_depth': 2,
    'max_arity': 2,
    'learning_time': 0.1 
}

model = Fedot(ml_task=task,
              composer_params=composer_params)
chain = model.fit(features=np.array(features_train),
                        target=np.array(target_train))
prediction = model.predict(features=np.array(features_valid))

array([9.2810631e-01, 2.1132191e-03, 3.3170132e-03, 9.9691188e-01,
       9.9891078e-01, 9.9755633e-01, 9.9896133e-01, 4.2323591e-04,
       9.9714440e-01, 9.9877244e-01], dtype=float32)

Также хочется обратить внимание на большой LOG при подборе композиций из моделей:

Error in chain assessment during composition: This MLPClassifier estimator requires y to be passed, but the target y is None.. Continue.
Error in chain assessment during composition: Invalid chain configuration: Chain has incorrect models positions. Continue.
Error in chain assessment during composition: Invalid chain configuration: Chain has incorrect models positions. Continue.
Error in chain assessment during composition: This MLPClassifier estimator requires y to be passed, but the target y is None.. Continue.
Error in chain assessment during composition: This MLPClassifier estimator requires y to be passed, but the target y is None.. Continue.
Error in chain assessment during composition: This MLPClassifier estimator requires y to be passed, but the target y is None.. Continue.
Error in chain assessment during composition: This MLPClassifier estimator requires y to be passed, but the target y is None.. Continue.
Error in chain assessment during composition: This MLPClassifier estimator requires y to be passed, but the target y is None.. Continue.
Error in chain assessment during composition: This MLPClassifier estimator requires y to be passed, but the target y is None.. Continue.
Best metric is -0.9916806666666667
Generation num: 0
max_depth: 2, no improvements: 0
Error in chain assessment during composition: This MLPClassifier estimator requires y to be passed, but the target y is None.. Continue.
Error in chain assessment during composition: This MLPClassifier estimator requires y to be passed, but the target y is None.. Continue.
Error in chain assessment during composition: This MLPClassifier estimator requires y to be passed, but the target y is None.. Continue.
spent time: 0.3 min
Best metric is -0.9916806666666667
Composition time: 0.267 min
Algorithm was terminated due to processing time limit
GP composition finished
Fit chain from scratch

Мне кажется некоторые строки не дожны выводиться. Тем более я не ставил параметр verbose. Возможно стоит вынести в отдельный issues

Assignee
Assign to
Time tracking