Open
Conversation
Member
matthew-brett
left a comment
There was a problem hiding this comment.
Small comments and suggestions
| In practice you will asked to provide answers based on data. For example, you may be given data about customer | ||
| behaviour in a large bank and asked to develop a model that will provide the probability of default of the customers in | ||
| the bank. This is an important problem for all financial institutions - if it does not have a good credit risk model, | ||
| it will either loose money by being too conservative in the way it lends money, or loose money bay taking on too much |
Member
There was a problem hiding this comment.
Suggested change
| it will either loose money by being too conservative in the way it lends money, or loose money bay taking on too much | |
| it will either loose money by being too conservative in the way it lends money, or loose money by taking on too much |
| behaviour in a large bank and asked to develop a model that will provide the probability of default of the customers in | ||
| the bank. This is an important problem for all financial institutions - if it does not have a good credit risk model, | ||
| it will either loose money by being too conservative in the way it lends money, or loose money bay taking on too much | ||
| of a risk. You can opt for applying a sophisticated model such as a deep neural network but you are almost guaranteed |
Member
There was a problem hiding this comment.
Won't they be confused by "deep neural network" here? Is there a more general way of saying this - such as:
Suggested change
| of a risk. You can opt for applying a sophisticated model such as a deep neural network but you are almost guaranteed | |
| of a risk. You can opt for applying an extremely complex "machine-learning" model with many parameters but you are almost guaranteed |
| the bank. This is an important problem for all financial institutions - if it does not have a good credit risk model, | ||
| it will either loose money by being too conservative in the way it lends money, or loose money bay taking on too much | ||
| of a risk. You can opt for applying a sophisticated model such as a deep neural network but you are almost guaranteed | ||
| to come to grief. First study the problem and come to terms of all the many issues at stake. We speak of experience! |
Member
There was a problem hiding this comment.
Better as?
Suggested change
| to come to grief. First study the problem and come to terms of all the many issues at stake. We speak of experience! | |
| to come to grief. First study the problem and come to terms of all the many issues at stake. We speak from experience! |
| Let's illustrate the idea with a simple example. The teacher asks little Annie to solve the following problem: Ten | ||
| sheep are on this side of the road and one sheep crosses to the other side, how many sheep remain on this side? Annie | ||
| knows the answer of course, and replies, correctly, none. This quite agitates the teacher and asks, there were ten sheep | ||
| on this side of the road and one crosses over to the other side, how is it that you tell non remain? Annie replies, |
Member
There was a problem hiding this comment.
Suggested change
| on this side of the road and one crosses over to the other side, how is it that you tell non remain? Annie replies, | |
| on this side of the road and one crosses over to the other side, why are you saying that none remain? Annie replies, |
| It is easy to get the arithmetic right, but as easy to get the problem wrong if you don't understand it. | ||
|
|
||
| Please make sure you know what problem you have to solve. You may even run into situations where a company provides you | ||
| with lots of data and then ask you to extract meaningful information from it. Our advice it, work with the company to |
Member
There was a problem hiding this comment.
Suggested change
| with lots of data and then ask you to extract meaningful information from it. Our advice it, work with the company to | |
| with lots of data and then asks you to extract meaningful information from it. Our advice is, work with the company to |
| These raise serious ethical questions that the practitioner should be aware of. | ||
|
|
||
| Returning to the criminal detection problem mentioned above, it failed. Let's think of what the model does. Since it | ||
| it given samples of photographs of criminals and non-criminals, i.e. each photograph comes with the label, `criminal` |
Member
There was a problem hiding this comment.
Suggested change
| it given samples of photographs of criminals and non-criminals, i.e. each photograph comes with the label, `criminal` | |
| is given samples of photographs of criminals and non-criminals, i.e. each photograph comes with the label, `criminal` |
| ## How is you model going to be used? | ||
|
|
||
| The responsibility of the technical developer does not end with providing the model, or the analytics needed for the | ||
| purpose. It is important to know how your model is going to be used. If you are to develop a system that need to |
Member
There was a problem hiding this comment.
Suggested change
| purpose. It is important to know how your model is going to be used. If you are to develop a system that need to | |
| purpose. It is important to know how your model is going to be used. If you are to develop a system that needs to |
| is all about coding. Anyway, you will become so much more marketable if you learn the basics of solid software practices. | ||
| We don't have the space to do it here but we do want to stress its importance. Always keep in mind the following: | ||
|
|
||
| 1. Use versioning control, we recommend using git. If you regularly push to the git repo this will protect you from |
Member
There was a problem hiding this comment.
Suggested change
| 1. Use versioning control, we recommend using git. If you regularly push to the git repo this will protect you from | |
| 1. Use version control; we recommend using git. If you regularly push to the git repo this will protect you from |
| 1. Use versioning control, we recommend using git. If you regularly push to the git repo this will protect you from | ||
| accidental software loss. It makes is also eay to share your code. You want other people to use your code, it make you | ||
| so much more useful! | ||
| 2. Ask someone elso to critically review your code. Even better if you work in an environment where there is a formal |
Member
There was a problem hiding this comment.
Suggested change
| 2. Ask someone elso to critically review your code. Even better if you work in an environment where there is a formal | |
| 2. Ask someone else to critically review your code. Even better if you work in an environment where there is a formal |
| 2. Ask someone elso to critically review your code. Even better if you work in an environment where there is a formal | ||
| system of code review. | ||
| 3. Read other people's code. You will learn a lot. | ||
| 4. Always tests for your code. This means that you run your code on small examples for which you know the answer. Every |
Member
There was a problem hiding this comment.
Suggested change
| 4. Always tests for your code. This means that you run your code on small examples for which you know the answer. Every | |
| 4. Always add tests for your code. This means that you run your code on small examples for which you know the answer. Every |
* Split out section on software practices to new chapter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.