dotnet / mbmlbook Goto Github PK
View Code? Open in Web Editor NEWSample code for the Model-Based Machine Learning book.
Home Page: http://mbmlbook.com
License: MIT License
Sample code for the Model-Based Machine Learning book.
Home Page: http://mbmlbook.com
License: MIT License
On 17th March 2021 we're going to rename the default branch in this repository to main. For more details, see our earlier announcement.
An exception is thrown whenever I click any of the first three links in the browser window (see below). I am running Visual Studio 2017 express on Windows 10.
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=MurderMystery
StackTrace:
at MurderMystery.VariablesViewModel.get_DaggerOpacity() in C:\Users\martin\repos\mbmlbook\src\1. A Murder Mystery\Views\VariablesViewModel.cs:line 335
at Microsoft.Research.Glo.Object.Property_251.GetValue(Object )
at Microsoft.Research.Glo.Object.PropertyPart..ctor(IExpressionPart parent, ClrProperty cprop, Object defaultObj)
Do you consider to implement c++ or python version of this book?
I see a lot of these in the console when running AssessingPeoplesSkills project (see below), but not sure if it is actually affecting anything... the program seems to run fine.
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=62400565)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=62400565); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=29593675)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=29593675); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=25269681)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=25269681); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=5503354)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=5503354); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=59434866)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=59434866); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=19545759)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=19545759); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=35563764)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=35563764); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=35876092)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=35876092); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=21777794)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=21777794); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=16901523)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=16901523); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=45904861)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=45904861); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=16441830)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=16441830); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=9774622)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=9774622); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=2733199)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=2733199); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
System.Windows.Data Error: 40 : BindingExpression path error: 'IsRecentlyModified' property not found on 'object' ''DictionaryEntryPart' (HashCode=21296519)'. BindingExpression:Path=IsRecentlyModified; DataItem='DictionaryEntryPart' (HashCode=21296519); target element is 'ListViewItem' (Name=''); target property is 'NoTarget' (type 'Object')
System.Windows.Data Error: 25 : Both 'ContentTemplate' and 'ContentTemplateSelector' are set; 'ContentTemplateSelector' will be ignored. ContentPresenter:'ContentPresenter' (Name='')
Hi,
I read that your framework only runs on Windows machine? After downloading Mono, I get 149 errors when building Samples in (main). The first error is "Could not resolve this reference. Could not locate the assembly “PresentationCore”"
Does your framework run on any machine other than a Windows machine? Thanks.
Gordon
Not sure if anyone recently has tried to install the app on Mac. Following the instruction mbmlbook/BUILDING.md
and I've ran the build command below
dotnet build -f netcoreapp2.1
It errors out, pasted the error message down there. I am very new to C# and have zero clue on how to fix this. Posted it here and could need some on it.
/usr/local/share/dotnet/sdk/2.1.814/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(198,5):
error NETSDK1005: Assets file '/Users/gchu/Code/mbmlbook/src/MBMLCommon/obj/project.assets.json' doesn't have a target
for '.NETCoreApp,Version=v2.1'. Ensure that restore has run and that you have included 'netcoreapp2.1' in the TargetFrameworks
for your project.
Hi,
The book is excellent and I love the explanations. How can I get a copy of this dataset?
I checked this link as well and the link to the data seems broken.
https://sites.google.com/site/crowdscale2013/shared-task
Any suggestions?
Hi, Microsoft announced general availability of .NET Core 3 on September and described it as the future of .NET and Visual Studio 2019 being the newest version of the IDE. Will these source code samples be upgraded to target the latest version before the book is released?
It would be a shame if the code samples are broken on the new version of .NET since it has succeeded 2.1
Thanks
Love the book, and the repo, but the examples have too much UI code especially for the basic examples. It takes focus away from actually learning how the varibles, properties, and engine work together because you have to slough through UI code and mentally parse whats there for machine learning and what is there for UI purposes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.