pub struct MLFeatures {
pub query_length: f32,
pub query_complexity_score: f32,
pub technical_term_count: f32,
pub question_word_presence: f32,
pub domain_specificity: f32,
pub has_code: f32,
pub has_numbers: f32,
pub intent_score: f32,
pub semantic_complexity: f32,
}Expand description
Feature vector for ML prediction
Fields§
§query_length: f32§query_complexity_score: f32§technical_term_count: f32§question_word_presence: f32§domain_specificity: f32§has_code: f32§has_numbers: f32§intent_score: f32§semantic_complexity: f32Trait Implementations§
Source§impl Clone for MLFeatures
impl Clone for MLFeatures
Source§fn clone(&self) -> MLFeatures
fn clone(&self) -> MLFeatures
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MLFeatures
impl Debug for MLFeatures
Source§impl<'de> Deserialize<'de> for MLFeatures
impl<'de> Deserialize<'de> for MLFeatures
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MLFeatures
impl RefUnwindSafe for MLFeatures
impl Send for MLFeatures
impl Sync for MLFeatures
impl Unpin for MLFeatures
impl UnwindSafe for MLFeatures
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more