$ vendor/bin/phpunit analytics/tests/prediction_test.php --testdox Moodle 3.8dev (Build: 20190920), c2c1cbd40a50cccc92eb9379bed139c506cfb1cb Php: 7.3.7, pgsql: 9.6.14, OS: Darwin 18.7.0 x86_64 PHPUnit 7.5.15 by Sebastian Bergmann and contributors. core_analytics_prediction_testcase ✔ Static prediction ✔ Ml training and prediction with data set "no_splitting-\mlbackend_php\processor" ✔ Ml training and prediction with data set "quarters-\mlbackend_php\processor" → Ml training and prediction with data set "no_splitting-\mlbackend_python\processor" → Ml training and prediction with data set "quarters-\mlbackend_python\processor" ✘ Ml training and prediction with data set "no_splitting-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:714 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:146 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml training and prediction with data set "quarters-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:714 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:146 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✔ Ml export import with data set "case-\mlbackend_php\processor" → Ml export import with data set "case-\mlbackend_python\processor" ✘ Ml export import with data set "case-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:714 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:316 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✔ Ml classifiers return with data set "1-samples-\mlbackend_php\processor" ✔ Ml classifiers return with data set "2-samples-same-class-\mlbackend_php\processor" ✔ Ml classifiers return with data set "2-samples-different-classes-\mlbackend_php\processor" ✔ Ml classifiers return with data set "4-samples-different-classes-\mlbackend_php\processor" → Ml classifiers return with data set "1-samples-\mlbackend_python\processor" → Ml classifiers return with data set "2-samples-same-class-\mlbackend_python\processor" → Ml classifiers return with data set "2-samples-different-classes-\mlbackend_python\processor" → Ml classifiers return with data set "4-samples-different-classes-\mlbackend_python\processor" ✘ Ml classifiers return with data set "1-samples-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:417 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml classifiers return with data set "2-samples-same-class-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:417 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml classifiers return with data set "2-samples-different-classes-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:417 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml classifiers return with data set "4-samples-different-classes-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:417 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✔ Ml multi classifier with data set "notimesplitting-\mlbackend_php\processor" ✘ Ml multi classifier with data set "notimesplitting-\mlbackend_python\processor" │ │ moodle_exception: The selected predictions processor is not ready: "moodlemlbackend" python package is not installed or there is a problem with it. Please execute "/opt/local/bin/python -m moodlemlbackend.version" from command line interface for more info │ │ /Users/stronk7/git_moodle/integration/analytics/classes/manager.php:190 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:853 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:696 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:481 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml multi classifier with data set "notimesplitting-\mlbackend_python\processor-server" │ │ moodle_exception: The selected predictions processor is not ready: "moodlemlbackend" python package is not installed or there is a problem with it. Please execute "/opt/local/bin/python -m moodlemlbackend.version" from command line interface for more info │ │ /Users/stronk7/git_moodle/integration/analytics/classes/manager.php:190 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:853 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:696 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:481 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✔ Ml evaluation configuration with data set "bad-\mlbackend_php\processor" ✔ Ml evaluation configuration with data set "good-\mlbackend_php\processor" → Ml evaluation configuration with data set "bad-\mlbackend_python\processor" → Ml evaluation configuration with data set "good-\mlbackend_python\processor" ✘ Ml evaluation configuration with data set "bad-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:331 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:635 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:558 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml evaluation configuration with data set "good-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:331 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:635 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:558 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✔ Ml evaluation trained model with data set "case-\mlbackend_php\processor" → Ml evaluation trained model with data set "case-\mlbackend_python\processor" ✘ Ml evaluation trained model with data set "case-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:714 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:602 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✔ Read indicator calculations ✔ Not null samples Time: 1.33 minutes, Memory: 90.50 MB Summary of non-successful tests: core_analytics_prediction_testcase → Ml training and prediction with data set "no_splitting-\mlbackend_python\processor" → Ml training and prediction with data set "quarters-\mlbackend_python\processor" ✘ Ml training and prediction with data set "no_splitting-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:714 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:146 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml training and prediction with data set "quarters-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:714 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:146 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ → Ml export import with data set "case-\mlbackend_python\processor" ✘ Ml export import with data set "case-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:714 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:316 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ → Ml classifiers return with data set "1-samples-\mlbackend_python\processor" → Ml classifiers return with data set "2-samples-same-class-\mlbackend_python\processor" → Ml classifiers return with data set "2-samples-different-classes-\mlbackend_python\processor" → Ml classifiers return with data set "4-samples-different-classes-\mlbackend_python\processor" ✘ Ml classifiers return with data set "1-samples-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:417 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml classifiers return with data set "2-samples-same-class-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:417 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml classifiers return with data set "2-samples-different-classes-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:417 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml classifiers return with data set "4-samples-different-classes-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:417 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml multi classifier with data set "notimesplitting-\mlbackend_python\processor" │ │ moodle_exception: The selected predictions processor is not ready: "moodlemlbackend" python package is not installed or there is a problem with it. Please execute "/opt/local/bin/python -m moodlemlbackend.version" from command line interface for more info │ │ /Users/stronk7/git_moodle/integration/analytics/classes/manager.php:190 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:853 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:696 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:481 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml multi classifier with data set "notimesplitting-\mlbackend_python\processor-server" │ │ moodle_exception: The selected predictions processor is not ready: "moodlemlbackend" python package is not installed or there is a problem with it. Please execute "/opt/local/bin/python -m moodlemlbackend.version" from command line interface for more info │ │ /Users/stronk7/git_moodle/integration/analytics/classes/manager.php:190 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:853 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:696 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:481 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ → Ml evaluation configuration with data set "bad-\mlbackend_python\processor" → Ml evaluation configuration with data set "good-\mlbackend_python\processor" ✘ Ml evaluation configuration with data set "bad-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:331 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:635 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:558 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ✘ Ml evaluation configuration with data set "good-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:331 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:635 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:558 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ → Ml evaluation trained model with data set "case-\mlbackend_python\processor" ✘ Ml evaluation trained model with data set "case-\mlbackend_python\processor-server" │ │ moodle_exception: Server error HTTP status code 500: │ │ │ AttributeError: 'Classifier' object has no attribute 'n_classes' // Werkzeug Debugger │ │ │

AttributeError

AttributeError: 'Classifier' object has no attribute 'n_classes'

Traceback (most recent call last)

│ │
AttributeError: 'Classifier' object has no attribute 'n_classes'
│ │

│ This is the Copy/Paste friendly version of the traceback. You can also paste this traceback into │ a gist: │

│ The debugger caught an exception in your WSGI application. You can now │ look at the traceback which led to the error. │ If you enable JavaScript you can also use additional features such as code │ execution (if the evalex feature is enabled), automatic pasting of the │ exceptions and much more.
│ │

Console Locked

│ The console is locked and needs to be unlocked by entering the PIN. │ You can find the PIN printed out on the standard output of your │ shell that runs the server. │

PIN: │

│ │ │ │ │ │ │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:643 │ /Users/stronk7/git_moodle/integration/lib/mlbackend/python/classes/processor.php:235 │ /Users/stronk7/git_moodle/integration/analytics/classes/model.php:714 │ /Users/stronk7/git_moodle/integration/analytics/tests/prediction_test.php:602 │ /Users/stronk7/git_moodle/integration/lib/phpunit/classes/advanced_testcase.php:80 │ ERRORS! Tests: 36, Assertions: 144, Errors: 12, Skipped: 10.