<commit_before>﻿<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:controls="clr-namespace:BuildIt.Forms.Controls;assembly=BuildIt.Forms.Controls"
             x:Class="BuildIt.ML.Sample.UI.MainPage">
    <ContentPage.Content>
        <StackLayout>
            <controls:CameraPreviewControl x:Name="CameraPreviewControl"
                                           Aspect="Fill"
                                           PreferredCamera="Back"
                                            />
            <Label Text="{Binding Classifications, StringFormat='Classifications: {0}'}" />
            <Button x:Name="ClassifyButton"
                    Text="Classify"
                    Clicked="ClassifyButton_Clicked" />
        </StackLayout>
    </ContentPage.Content>
</ContentPage><commit_msg>fix buildit.ml sample in the absence of being able to programatically start a camera feed via a method call<commit_after>﻿<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:controls="clr-namespace:BuildIt.Forms.Controls;assembly=BuildIt.Forms.Controls"
             x:Class="BuildIt.ML.Sample.UI.MainPage">
    <ContentPage.Content>
        <StackLayout>
            <controls:CameraPreviewControl x:Name="CameraPreviewControl"
                                           Aspect="Fill"
                                           IsVisible="False"
                                           PreferredCamera="Back"
                                            />
            <Label Text="{Binding Classifications, StringFormat='Classifications: {0}'}" />
            <Button x:Name="ClassifyButton"
                    Text="Start classifying"
                    Clicked="ClassifyButton_Clicked" />
        </StackLayout>
    </ContentPage.Content>
</ContentPage>
{'fraction_non_alphanumeric': 0.11747285291214216, 'fraction_numerical': 0.011846001974333662, 'mean_word_length': 1.7958620689655171, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 2, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4261494', 'n_tokens_mistral': 513, 'n_tokens_neox': 489, 'n_words': 71}