Algorithm::NaiveBayes restore_stateでエラー

use Algorithm::NaiveBayes::Model::Frequency;がいるっぽい

use Algorithm::NaiveBayes;
use Algorithm::NaiveBayes::Model::Frequency;
my $nb = Algorithm::NaiveBayes->restore_state($path);